Ruben Q L created HIVE-29833:
--------------------------------

             Summary: Override isSafeOperator method on Hive operators that are 
safe
                 Key: HIVE-29833
                 URL: https://issues.apache.org/jira/browse/HIVE-29833
             Project: Hive
          Issue Type: Improvement
            Reporter: Ruben Q L


Some Calcite simplifications on RexSimplify's SafeRexVisitor that are currently 
"blocked" could be enabled by overriding isSafeOperator method to return true 
(instead of the default false) on those Hive operators that we can consider 
"safe" (i.e. that shall not throw at runtime, unlike e.g. DIVISION which can 
throw in case of. division by zero).

Potential candidates (currently not covered by standard Calcite RexSimplify 
SafeRexVisitor code):
- HiveExtractDate
- others?




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to