Gengliang Wang created SPARK-36055:
--------------------------------------

             Summary: Assign pretty SQL string to TimestampNTZ literals
                 Key: SPARK-36055
                 URL: https://issues.apache.org/jira/browse/SPARK-36055
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Gengliang Wang
            Assignee: Gengliang Wang


Currently the TimestampNTZ literals shows only long value instead of timestamp 
string in its SQL string and toString result.
Before changes (with default timestamp type as TIMESTAMP_NTZ)
```
 -- !query
 select timestamp '2019-01-01\t'
 -- !query schema
struct<1546300800000000:timestamp_ntz>
```

After changes:
 -- !query
 select timestamp '2019-01-01\t'
 -- !query schema
struct<TIMESTAMP_NTZ '2019-01-01 00:00:00':timestamp_ntz>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to