[GitHub] [spark] TJX2014 commented on pull request #28819: [SPARK-31980][SQL]Function sequence() fails if start and end of range are equal dates

2020-06-20 Thread GitBox
TJX2014 commented on pull request #28819: URL: https://github.com/apache/spark/pull/28819#issuecomment-646968614 > Thanks, I will make a PR for branch-2.4. @dongjoon-hyun This is the backport.[#28877](https://github.com/apache/spark/pull/28877) -

[GitHub] [spark] TJX2014 commented on pull request #28819: [SPARK-31980][SQL]Function sequence() fails if start and end of range are equal dates

2020-06-19 Thread GitBox
TJX2014 commented on pull request #28819: URL: https://github.com/apache/spark/pull/28819#issuecomment-646934894 Thanks, I will make a PR for branch-2.4. This is an automated message from the Apache Git Service. To respond to

[GitHub] [spark] TJX2014 commented on pull request #28819: [SPARK-31980][SQL]Function sequence() fails if start and end of range are equal dates

2020-06-19 Thread GitBox
TJX2014 commented on pull request #28819: URL: https://github.com/apache/spark/pull/28819#issuecomment-646933713 @dongjoon-hyun Thanks, I am willing to, I still have a question, Could you please help me check.Could I base `master` to use `CalendarInterval.fromString` instead of `stringToI

[GitHub] [spark] TJX2014 commented on pull request #28819: [SPARK-31980][SQL]Function sequence() fails if start and end of range are equal dates

2020-06-14 Thread GitBox
TJX2014 commented on pull request #28819: URL: https://github.com/apache/spark/pull/28819#issuecomment-643740231 > I think it matches the behaviour with Presto's (see #21155). Shall we check how it works in Presto? Sure, we can get result from Presto as follows: ` **presto> sel