yaooqinn commented on issue #28248: [SPARK-31474][SQL] Consistency between dayofweek/dow in extract exprsession and dayofweek function URL: https://github.com/apache/spark/pull/28248#issuecomment-615548555 Hi, @dongjoon-hyun the ANSI SQL reference seems not to define the meaning of `dow` which is more likely to be defined by ISO. some of the other platforms like PostgreSQL/presto/DB2/SQL Server support this, others like Oracle don't. Those systems with `dow` support are also different from each other for the [0, 1]-based and [Monday, Sunday]-start method if no ’iso‘ suffix or prefix. But at least they do not vary inside their systems.
---------------------------------------------------------------- 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]
