cloud-fan commented on a change in pull request #29560:
URL: https://github.com/apache/spark/pull/29560#discussion_r478581809
##########
File path: sql/core/src/test/resources/sql-tests/results/ansi/interval.sql.out
##########
@@ -655,41 +657,63 @@ select interval (-30) day
-- !query schema
struct<>
-- !query output
-org.apache.spark.sql.catalyst.parser.ParseException
+org.apache.spark.sql.AnalysisException
+Undefined function: 'interval'. This function is neither a registered
temporary function nor a permanent function registered in the database
'default'.; line 1 pos 7
Review comment:
ditto, it's better to make `day` and `days` have consistent
behavior/error message.
----------------------------------------------------------------
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]