dongjoon-hyun commented on a change in pull request #25000: [SPARK-28107][SQL]
Support 'day to hour', 'day to minute', 'hour to minute' and 'minute to second'
URL: https://github.com/apache/spark/pull/25000#discussion_r299770185
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
##########
@@ -1836,7 +1836,8 @@ class AstBuilder(conf: SQLConf) extends
SqlBaseBaseVisitor[AnyRef] with Logging
* Create a [[CalendarInterval]] for a unit value pair. Two unit
configuration types are
* supported:
* - Single unit.
- * - From-To unit (only 'YEAR TO MONTH' and 'DAY TO SECOND' and 'HOUR to
SECOND' are supported).
+ * - From-To unit ('YEAR TO MONTH' and 'DAY TO HOUR' and 'DAY TO MINUTE' and
'DAY TO SECOND'
+ * - and 'HOUR to MINUTE' and 'HOUR to SECOND' and 'MINUTE to SECOND' are
supported).
Review comment:
`* - and` -> `* and`.
Please remove `-` from the beginning.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]