You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/07/08 16:57:00 UTC
[jira] [Assigned] (SPARK-36055) Assign pretty SQL string to
TimestampNTZ literals
[ https://issues.apache.org/jira/browse/SPARK-36055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-36055:
------------------------------------
Assignee: Gengliang Wang (was: Apache Spark)
> 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
> Priority: Major
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org