[ https://issues.apache.org/jira/browse/SPARK-34342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-34342: ---------------------------------- Summary: Format DateLiteral and TimestampLiteral toString (was: Format Literal toString) > Format DateLiteral and TimestampLiteral 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 > Fix For: 3.2.0 > > > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org