HyukjinKwon commented on a change in pull request #28276:
URL: https://github.com/apache/spark/pull/28276#discussion_r411846223
##########
File path: sql/core/src/test/resources/sql-tests/inputs/extract.sql
##########
@@ -83,3 +83,21 @@ select extract(epoch from c) from t;
select extract(not_supported from c) from t;
select extract(not_supported from i) from t;
+
+-- In SPARK-31476, we've supported extract('field', source), too
+select date_part('millennium', c) from t;
Review comment:
I think only a couple of tests are fine :-).
----------------------------------------------------------------
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]