-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-4205][SQL] Timestamp and Date with comparisons #3158
Conversation
Can one of the admins verify this patch? |
@liangcheng and @rxin, I am reopening pull request #3066 as #3158 so it can be based on a current commit of the spark source. I messed up #3066 by trying to rebase it after a new test file was added which required minor changes to compile. Sorry for any confusion this causes. |
Thanks for working on this. Is a pretty big change so I'll review it next week after we get some critical fixes in for 1.2. |
Thanks @marmbrus. That sounds good. If it isn't too much trouble, I'd appreciate seeing what jenkins has to say before you review it next week. |
ok to test |
Test build #23075 has started for PR 3158 at commit
|
Test build #23075 has finished for PR 3158 at commit
|
Test FAILed. |
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
Oh well. Some new tests were added Friday to sql/core/src/test/scala/org/apache/spark/sql/parquet/ParquetQuerySuite.scala which use the construction |
Test build #23104 has started for PR 3158 at commit
|
Test build #23104 has finished for PR 3158 at commit
|
Test FAILed. |
Test build #23105 has started for PR 3158 at commit
|
Test build #23106 has started for PR 3158 at commit
|
Test build #23105 has finished for PR 3158 at commit
|
Test FAILed. |
Test build #23106 has finished for PR 3158 at commit
|
Test PASSed. |
Test build #23123 has started for PR 3158 at commit
|
Test build #23123 has finished for PR 3158 at commit
|
Test FAILed. |
Test build #23130 has started for PR 3158 at commit
|
allowing them to be used in DSL expressions. These classes provide initializers which accept string representations of dates or times. They are renamed as Date and Timestamp when the members of an SQLContext are in scope.
with a literal, e.g. 0 < 'x . These conversions expose a conflict with the scalatest === operator if assert(X === Y) is used when the conversions are in scope. To fix this, several tests are modified, as recommended in the scalatest documentation, by making the change: assert(X === Y) --> assert(convertToEqualizer(X).===(Y))
a test which would have detected the problem.
available after importing the members of an SQLContext.
Test build #23171 has finished for PR 3158 at commit
|
Test FAILed. |
Test build #23193 has started for PR 3158 at commit
|
Test FAILed. |
Test build #23193 has finished for PR 3158 at commit
|
Test FAILed. |
Test build #23195 has started for PR 3158 at commit
|
Test build #23195 has finished for PR 3158 at commit
|
Test PASSed. |
OK @marmbrus and @liancheng, this PR is now fit and slim. The LhsLiterals have been removed and will appear in a new PR. This one passes all tests and I think it is ready for review, finally. 谢谢, @liancheng, for your patience, thoughtful comments and careful reading. |
Thanks! On Mon, Nov 10, 2014 at 6:17 PM, Michael Armbrust notifications@github.com
|
Maybe next week will be better. The PR is now much smaller, with the On Fri, Nov 7, 2014 at 3:02 PM, Michael Armbrust notifications@github.com
|
Test build #24259 has started for PR 3158 at commit
|
Test build #24259 has finished for PR 3158 at commit
|
Test PASSed. |
Test build #25108 has started for PR 3158 at commit
|
Test build #25110 has started for PR 3158 at commit
|
Test build #25108 has finished for PR 3158 at commit
|
Test PASSed. |
Test build #25110 has finished for PR 3158 at commit
|
Test PASSed. |
This PR adds new RichDate and RichTimestamp classes that provide comparison operators, allowing them to be used in DSL expressions, and initializers which accept string representations of dates or times.