Max Gekk created SPARK-52715:
--------------------------------
Summary: Pretty SQL string of TIME - DAY-TIME INTERVAL
Key: SPARK-52715
URL: https://issues.apache.org/jira/browse/SPARK-52715
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 4.1.0
Reporter: Max Gekk
Assignee: Max Gekk
Improve SQL representation of subtract of TIME and DAY-TIME INTERVAL.
Current form is:
{code:sql}
TIME '12:30:00' + (- INTERVAL '12:29:59.000001' HOUR TO SECOND
{code}
should be changed to:
{code:sql}
TIME '12:30:00' - INTERVAL '12:29:59.000001' HOUR TO SECOND
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]