-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-11396] [SQL] add native implementation of datetime function to_unix_timestamp #9347
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
Conversation
|
Test build #44565 has finished for PR 9347 at commit
|
|
Test build #44566 has finished for PR 9347 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about move this into UnixTime?
|
LGTM overall, just one minor comment. |
|
Test build #45509 has finished for PR 9347 at commit
|
|
retest this please. |
|
Test build #45513 has finished for PR 9347 at commit
|
|
Seems a legitimate failure ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use format here
|
Test build #45602 has finished for PR 9347 at commit
|
|
Please fix the bug for SparkR |
|
Test build #45627 has finished for PR 9347 at commit
|
|
retest this please. |
|
Test build #45629 has finished for PR 9347 at commit
|
|
default constructor has conflict here, so maybe we have to avoid parameters in abstract class UnixTime. |
|
Test build #45646 has started for PR 9347 at commit |
|
Test build #2041 has finished for PR 9347 at commit
|
|
retest this please. |
|
Test build #45699 has finished for PR 9347 at commit
|
|
LGTM, merging this into master and 1.6. |
…_unix_timestamp `to_unix_timestamp` is the deterministic version of `unix_timestamp`, as it accepts at least one parameters. Since the behavior here is quite similar to `unix_timestamp`, I think the dataframe API is not necessary here. Author: Daoyuan Wang <daoyuan.wang@intel.com> Closes #9347 from adrian-wang/to_unix_timestamp. (cherry picked from commit 39b1e36) Signed-off-by: Davies Liu <davies.liu@gmail.com>
…_unix_timestamp `to_unix_timestamp` is the deterministic version of `unix_timestamp`, as it accepts at least one parameters. Since the behavior here is quite similar to `unix_timestamp`, I think the dataframe API is not necessary here. Author: Daoyuan Wang <daoyuan.wang@intel.com> Closes apache#9347 from adrian-wang/to_unix_timestamp.
to_unix_timestampis the deterministic version ofunix_timestamp, as it accepts at least one parameters.Since the behavior here is quite similar to
unix_timestamp, I think the dataframe API is not necessary here.