AngersZhuuuu commented on a change in pull request #33716:
URL: https://github.com/apache/spark/pull/33716#discussion_r745487427



##########
File path: sql/core/src/test/resources/sql-tests/results/cast.sql.out
##########
@@ -458,3 +458,59 @@ struct<CAST(
  xyz   
 AS BOOLEAN):boolean>
 -- !query output
 NULL
+
+
+-- !query
+SELECT CAST('1 year 2 month' AS INTERVAL YEAR TO MONTH)
+-- !query schema
+struct<CAST(1 year 2 month AS INTERVAL YEAR TO MONTH):interval year to month>
+-- !query output
+1-2
+
+
+-- !query
+SELECT CAST('1 year 2 month 3 day' AS INTERVAL YEAR TO MONTH)
+-- !query schema
+struct<CAST(1 year 2 month 3 day AS INTERVAL YEAR TO MONTH):interval year to 
month>
+-- !query output
+1-2

Review comment:
       @MaxGekk Do I need to continue this PR?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to