Uh oh!
There was an error while loading. Please reload this page.
[SPARK-11724] [SQL] Change casting between int and timestamp to consistently treat int in seconds. - #9685
[SPARK-11724] [SQL] Change casting between int and timestamp to consistently treat int in seconds.#9685nongli wants to merge 4 commits into
Conversation
cloud-fan
commented
Nov 13, 2015
Good catch! The currently behaviour looks wierd to me, how does hive handle this? cc @yhuai |
SparkQA
commented
Nov 13, 2015
Test build #45842 has finished for PR 9685 at commit
|
nongli
commented
Nov 13, 2015
It looks like Hive fixed this in 1.2. https://issues.apache.org/jira/browse/HIVE-3454 |
yhuai
commented
Nov 13, 2015
Seems we need to update those golden files. I believe we can set |
…stently treat int in seconds. The current behavior is odd but there were a few tests that verified it. Not sure if there is a particular reason it is this way.
yhuai
commented
Nov 19, 2015
Seems Hive is still wrong when the data type is int. See Let's delete those golden files and create our own test (using |
SparkQA
commented
Nov 20, 2015
Test build #46364 has finished for PR 9685 at commit
|
yhuai
commented
Nov 20, 2015
test this please |
SparkQA
commented
Nov 20, 2015
Test build #46391 has finished for PR 9685 at commit
|
There was a problem hiding this comment.
Seems we do not include the new golden file? I can generate it tomorrow.
SparkQA
commented
Nov 20, 2015
Test build #46435 has finished for PR 9685 at commit
|
yhuai
commented
Nov 20, 2015
LGTM. Thank you for the fix! Merging it to master and branch 1.6. |
…tently treat int in seconds. Hive has since changed this behavior as well. https://issues.apache.org/jira/browse/HIVE-3454 Author: Nong Li <nong@databricks.com> Author: Nong Li <nongli@gmail.com> Author: Yin Huai <yhuai@databricks.com> Closes#9685 from nongli/spark-11724. (cherry picked from commit 9ed4ad4) Signed-off-by: Yin Huai <yhuai@databricks.com>
Hive has since changed this behavior as well. https://issues.apache.org/jira/browse/HIVE-3454