arina-ielchiieva commented on a change in pull request #1818: DRILL-7200: 
Update Calcite to 1.19.0 / 1.20.0
URL: https://github.com/apache/drill/pull/1818#discussion_r299400674
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/parser/UnsupportedOperatorsVisitor.java
 ##########
 @@ -268,7 +268,7 @@ public SqlNode visit(SqlCall sqlCall) {
 
     // Disable Function
     for(String strOperator : disabledOperators) {
-      if(sqlCall.getOperator().isName(strOperator)) {
+      if(sqlCall.getOperator().isName(strOperator, true)) { // true is passed 
to have previous behavior
 
 Review comment:
   ```suggestion
         if(sqlCall.getOperator().isName(strOperator, true)) { // true is 
passed to preserve previous behavior
   ```

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

Reply via email to