[
https://issues.apache.org/jira/browse/SPARK-36055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gengliang Wang updated SPARK-36055:
-----------------------------------
Fix Version/s: (was: 3.2.0)
3.3.0
Affects Version/s: (was: 3.2.0)
3.3.0
> 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.3.0
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Major
> Fix For: 3.3.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]