cloud-fan commented on a change in pull request #26579: [SPARK-29948][SQL] make 
the default alias consistent between date, timestamp and interval
URL: https://github.com/apache/spark/pull/26579#discussion_r347372426
 
 

 ##########
 File path: 
sql/core/src/test/resources/sql-tests/results/interval-display-iso_8601.sql.out
 ##########
 @@ -16,6 +16,6 @@ SELECT
   interval '1 years 2 months -3 days 4 hours 5 minutes 6.789 seconds',
   - interval '1 years 2 months -3 days 4 hours 5 minutes 6.789 seconds'
 -- !query 0 schema
-struct<CAST(NULL AS INTERVAL):interval,0 seconds:interval,1 years:interval,1 
months:interval,1 years 2 months:interval,1 days -1 hours:interval,-1 days -1 
hours:interval,-1 days 1 hours:interval,-1 days 1 hours:interval,1 years 2 
months -3 days 4 hours 5 minutes 6.789 seconds:interval,-1 years -2 months 3 
days -4 hours -5 minutes -6.789 seconds:interval>
+struct<CAST(NULL AS INTERVAL):interval,INTERVAL '0 seconds':interval,INTERVAL 
'1 years':interval,INTERVAL '1 months':interval,INTERVAL '1 years 2 
months':interval,INTERVAL '1 days -1 hours':interval,INTERVAL '-1 days -1 
hours':interval,INTERVAL '-1 days 1 hours':interval,INTERVAL '-1 days 1 
hours':interval,INTERVAL '1 years 2 months -3 days 4 hours 5 minutes 6.789 
seconds':interval,INTERVAL '-1 years -2 months 3 days -4 hours -5 minutes 
-6.789 seconds':interval>
 
 Review comment:
   you are right. I'll regenerate these after your fix is merged.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to