cloud-fan commented on issue #20433: [SPARK-23264][SQL] Make INTERVAL keyword optional in INTERVAL clauses URL: https://github.com/apache/spark/pull/20433#issuecomment-458793264 My understanding is, this PR is blocked by #23259. Without a well-defined list of keywords, we can't simply change the parser rule of interval literal. To unblock it, we want to build a framework to optionally(controlled by a config) define something as keyword, and then define the interval related keywords first. > I just noticed the parser regards 2 seconds as a interval is not a ANSI behaviour because seconds is not reserved Can you check some mainstream databases like postgres, sql server, oracle?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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]
