cloud-fan commented on a change in pull request #32587:
URL: https://github.com/apache/spark/pull/32587#discussion_r635790534



##########
File path: 
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/ExpressionInfo.java
##########
@@ -144,6 +155,11 @@ public ExpressionInfo(
                 this.name + "]. It should be a value in " + validGroups + "; 
however, " +
                 "got [" + group + "].");
         }
+        if (!language.isEmpty() && !validLanguages.contains(language)) {

Review comment:
       sounds good. Hive is not a language either. function type is more 
correct.




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