MaxGekk commented on a change in pull request #25210: [SPARK-28432][SQL] Add 
`make_date` function
URL: https://github.com/apache/spark/pull/25210#discussion_r305713861
 
 

 ##########
 File path: sql/core/src/test/resources/sql-tests/results/pgSQL/date.sql.out
 ##########
 @@ -508,8 +508,48 @@ struct<Days From 2K:int>
 
 
 -- !query 47
-DROP TABLE DATE_TBL
+select make_date(2013, 7, 15)
 -- !query 47 schema
-struct<>
+struct<make_date(2013, 7, 15):date>
 -- !query 47 output
+2013-07-15
+
+
+-- !query 48
+select make_date(-44, 3, 15)
+-- !query 48 schema
+struct<make_date(-44, 3, 15):date>
+-- !query 48 output
+0045-03-15
 
 Review comment:
   Here is the JIRA ticket: https://issues.apache.org/jira/browse/SPARK-28471

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