[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2017-01-05 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 gentle ping... --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, o

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-11-12 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 Hi @rxin, do you mind if I ask what you do think about this? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-29 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 I tested the functions related with `add`/`sub`/`trunc` on date/timestamp and It seems generally option 2 or option 3. **DB2 (`TRUNC`)** - input: `TimestampType`, output:

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-28 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 I will be back after testing/looking into other databases soon. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project do

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-28 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 https://github.com/apache/spark/pull/14788#issuecomment-242906410 here is my observation. It seems usually option 1 ir option 3. I can take a look deeper if we want to follow this or be very sur

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-28 Thread rxin
Github user rxin commented on the issue: https://github.com/apache/spark/pull/14788 What do other databases do? Does date_add in other databases support timestamps? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If you

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-28 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 Could I then go for option 1.? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-22 Thread hvanhovell
Github user hvanhovell commented on the issue: https://github.com/apache/spark/pull/14788 It would work with different names. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enab

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-22 Thread rxin
Github user rxin commented on the issue: https://github.com/apache/spark/pull/14788 Does option 1 really work? Wouldn't the expressions have the same user facing function names? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-22 Thread hvanhovell
Github user hvanhovell commented on the issue: https://github.com/apache/spark/pull/14788 I prefer option 1. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-22 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 @rxin @hvanhovell @cloud-fan Could I please ask the behaviour we want here? 1. Separate expressions for both `DateType` and `TimestampType` 2. Returns `DateType` for `DateType` and `T

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-11 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-11 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66728/ Test PASSed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-11 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #66728 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66728/consoleFull)** for PR 14788 at commit [`cd78330`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-11 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #66728 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66728/consoleFull)** for PR 14788 at commit [`cd78330`](https://github.com/apache/spark/commit/c

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66713/ Test FAILed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test FAILed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #66713 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66713/consoleFull)** for PR 14788 at commit [`ef67829`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #66713 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66713/consoleFull)** for PR 14788 at commit [`ef67829`](https://github.com/apache/spark/commit/e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #66712 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66712/consoleFull)** for PR 14788 at commit [`537fe88`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66712/ Test FAILed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test FAILed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #66712 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66712/consoleFull)** for PR 14788 at commit [`537fe88`](https://github.com/apache/spark/commit/5

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #3316 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/3316/consoleFull)** for PR 14788 at commit [`8c50b2c`](https://github.com/apache/spark/commit

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #3316 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/3316/consoleFull)** for PR 14788 at commit [`8c50b2c`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #3313 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/3313/consoleFull)** for PR 14788 at commit [`8c50b2c`](https://github.com/apache/spark/commit

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #3313 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/3313/consoleFull)** for PR 14788 at commit [`8c50b2c`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66626/ Test FAILed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test FAILed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-10 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #66626 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66626/consoleFull)** for PR 14788 at commit [`8c50b2c`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-09 Thread rxin
Github user rxin commented on the issue: https://github.com/apache/spark/pull/14788 Actually can we avoid renaming these expressions? I don't see the point to rename DateSub to SubDays. It just makes it more annoying to link the user facing API with the internal expressions. --- If

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-09 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #66626 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66626/consoleFull)** for PR 14788 at commit [`8c50b2c`](https://github.com/apache/spark/commit/8

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-09 Thread hvanhovell
Github user hvanhovell commented on the issue: https://github.com/apache/spark/pull/14788 LGTM - I'll merge as soon as tests complete successfully --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-09 Thread hvanhovell
Github user hvanhovell commented on the issue: https://github.com/apache/spark/pull/14788 retest this please --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-10-08 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 @cloud-fan @hvanhovell Would there be other things I should double check and take care of? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-10 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 Hi @cloud-fan and @hvanhovell , could I ask to take another look? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65092/ Test PASSed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-08 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #65092 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65092/consoleFull)** for PR 14788 at commit [`8c50b2c`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-08 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #65092 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65092/consoleFull)** for PR 14788 at commit [`8c50b2c`](https://github.com/apache/spark/commit/8

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-07 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65034/ Test PASSed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-07 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-07 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #65034 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65034/consoleFull)** for PR 14788 at commit [`1998ce5`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-07 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 Sure. Thanks for your close look. I will address the comments tomorrow. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your pr

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-07 Thread hvanhovell
Github user hvanhovell commented on the issue: https://github.com/apache/spark/pull/14788 Looks pretty good. I left a few more comments. Could you also add a test for TruncDate that covers a day light saving scenario? --- If your project is set up for it, you can reply to th

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-07 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #65034 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65034/consoleFull)** for PR 14788 at commit [`1998ce5`](https://github.com/apache/spark/commit/1

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-05 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-05 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64934/ Test PASSed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-05 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64934 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64934/consoleFull)** for PR 14788 at commit [`4eb6f54`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-05 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64934 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64934/consoleFull)** for PR 14788 at commit [`4eb6f54`](https://github.com/apache/spark/commit/4

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test FAILed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64921 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64921/consoleFull)** for PR 14788 at commit [`0040f35`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64921/ Test FAILed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64921 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64921/consoleFull)** for PR 14788 at commit [`0040f35`](https://github.com/apache/spark/commit/0

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64918/ Test FAILed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test FAILed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64918 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64918/consoleFull)** for PR 14788 at commit [`03bb6a1`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64918 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64918/consoleFull)** for PR 14788 at commit [`03bb6a1`](https://github.com/apache/spark/commit/0

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64917/ Test FAILed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test FAILed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-29 Thread cloud-fan
Github user cloud-fan commented on the issue: https://github.com/apache/spark/pull/14788 For `date_add`, `date_sub`, `add_month`, I think we should support both DateType and TimestampType, and the return type should depend on the input type. For `last_day`, `first_day`, we sho

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-27 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 It seems it is up to how we define the behaviour. I will follow your decision @cloud-fan. My personal opinion is, support both types for `TRUNC` but not for `LAST_DAY` and `NEXT_DAY`.

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-27 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 I took a look for MySQL and PostgreSQL. It seems they are not really consistent for `NEXT_DAY`, `LAST_DAY` and `TRUNC` but it seems the return types are fixed in general (whether it is `DateType

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-27 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test FAILed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-27 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64524/ Test FAILed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-27 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64524 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64524/consoleFull)** for PR 14788 at commit [`eee40b8`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-26 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64524 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64524/consoleFull)** for PR 14788 at commit [`eee40b8`](https://github.com/apache/spark/commit/e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-26 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64523/ Test FAILed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-26 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test FAILed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64347/ Test PASSed. ---

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/14788 Merged build finished. Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-24 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64347 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64347/consoleFull)** for PR 14788 at commit [`777300e`](https://github.com/apache/spark/commit/

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-24 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14788 Oh, yes. right. I will address your comments tomorrow. Thank you @hvanhovell --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-24 Thread hvanhovell
Github user hvanhovell commented on the issue: https://github.com/apache/spark/pull/14788 @HyukjinKwon this looks pretty good. I think we should also do this for `DateAdd`, `DateSub`, `LastDay` and `NextDay` (the naming is a bit unfortunate for the first two though). We might

[GitHub] spark issue #14788: [SPARK-17174][SQL] Add the support for TimestampType for...

2016-08-24 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/14788 **[Test build #64347 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64347/consoleFull)** for PR 14788 at commit [`777300e`](https://github.com/apache/spark/commit/7