MaxGekk commented on a change in pull request #33719:
URL: https://github.com/apache/spark/pull/33719#discussion_r688355609
##########
File path:
sql/core/src/test/resources/sql-tests/results/timestampNTZ/timestamp.sql.out
##########
@@ -705,7 +705,6 @@ Unsupported type: timestamp_ntz
-- !query
select from_csv('26/October/2015', 't Timestamp', map('timestampFormat',
'dd/MMMMM/yyyy'))
-- !query schema
-struct<>
+struct<from_csv(26/October/2015):struct<t:timestamp_ntz>>
-- !query output
-java.lang.Exception
-Unsupported type: timestamp_ntz
+{"t":null}
Review comment:
The same question here, why null?
##########
File path:
sql/core/src/test/resources/sql-tests/results/timestampNTZ/timestamp-ansi.sql.out
##########
@@ -722,7 +722,6 @@ Unsupported type: timestamp_ntz
-- !query
select from_csv('26/October/2015', 't Timestamp', map('timestampFormat',
'dd/MMMMM/yyyy'))
-- !query schema
-struct<>
+struct<from_csv(26/October/2015):struct<t:timestamp_ntz>>
-- !query output
-java.lang.Exception
-Unsupported type: timestamp_ntz
+{"t":null}
Review comment:
Why null? Which issue does the input have? No time part?
--
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]