maropu commented on a change in pull request #28402:
URL: https://github.com/apache/spark/pull/28402#discussion_r417656589



##########
File path: sql/core/src/test/resources/sql-tests/results/ansi/interval.sql.out
##########
@@ -689,7 +689,7 @@ select
   interval '2-2' year to month + dateval
 from interval_arithmetic
 -- !query schema
-struct<dateval:date,dateval + (- INTERVAL '2 years 2 months'):date,dateval + 
(- INTERVAL '-2 years -2 months'):date,dateval + INTERVAL '2 years 2 
months':date,dateval + INTERVAL '-2 years -2 months':date,dateval + (- INTERVAL 
'2 years 2 months'):date,dateval + INTERVAL '2 years 2 months':date>
+struct<dateval:date,interval_arithmetic.`dateval` - INTERVAL '2 years 2 
months':date,interval_arithmetic.`dateval` - INTERVAL '-2 years -2 
months':date,dateval + INTERVAL '2 years 2 months':date,dateval + INTERVAL '-2 
years -2 months':date,dateval + (- INTERVAL '2 years 2 months'):date,dateval + 
INTERVAL '2 years 2 months':date>

Review comment:
       Just to check; why is the table name added in the output schema?




----------------------------------------------------------------
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]



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

Reply via email to