[ 
https://issues.apache.org/jira/browse/SPARK-34342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun reassigned SPARK-34342:
-------------------------------------

    Assignee: Yuming Wang

> Format Literal toString
> -----------------------
>
>                 Key: SPARK-34342
>                 URL: https://issues.apache.org/jira/browse/SPARK-34342
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Yuming Wang
>            Assignee: Yuming Wang
>            Priority: Major
>
> Format DateLiteral and TimestampLiteral toString. For example:
>  SELECT * FROM date_dim WHERE d_date BETWEEN (cast('2000-03-11' AS DATE) - 
> INTERVAL 30 days) AND (cast('2000-03-11' AS DATE) + INTERVAL 30 days)
>  Current:
>  
> {{Condition : (((isnotnull(d_date#18) AND (d_date#18 >= 10997)) AND 
> (d_date#18 <= 11057)) AND isnotnull(d_date_sk#17))}}
>  
> Expected:
>  
> {{Condition : (((isnotnull(d_date#14) AND (d_date#14 >= 2000-02-10)) AND 
> (d_date#14 <= 2000-04-10)) AND isnotnull(d_date_sk#13))}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to