Aleksandr Efimov created IMPALA-15490:
-----------------------------------------

             Summary: Calcite planner: Normalize arithmetic expressions in HBO 
keys
                 Key: IMPALA-15490
                 URL: https://issues.apache.org/jira/browse/IMPALA-15490
             Project: IMPALA
          Issue Type: Improvement
            Reporter: Aleksandr Efimov
            Assignee: Aleksandr Efimov


Original and Calcite generate different HBO keys for equivalent arithmetic 
predicates, such as key_id % 17 = 3. Each planner reuses its own history, but 
the other planner misses it for this query. Reproduced with BIGINT +, -, *, / 
and %; simple equality keys match. Normalize built-in arithmetic forms without 
losing type, cast or function identity. Related to IMPALA-15059.



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

Reply via email to