calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Risden (JIRA)" <>
Subject [jira] [Created] (CALCITE-1668) RexUtil.simplify handle literal comparison simplification
Date Thu, 02 Mar 2017 20:35:45 GMT
Kevin Risden created CALCITE-1668:

             Summary: RexUtil.simplify handle literal comparison simplification
                 Key: CALCITE-1668
             Project: Calcite
          Issue Type: Improvement
          Components: core
            Reporter: Kevin Risden
            Assignee: Julian Hyde
            Priority: Minor

>From the calcite-dev mailing list:

Calcite doesn't seem to optimize away the literal comparison literal case
with RexUtil.simplify. In my understanding any literal comparison literal
results in a simple TRUE/FALSE result.

I'm not sure this is valid in the general case, but I put together a simple
example of doing this on the RexUtil simplifyCall.


This message was sent by Atlassian JIRA

View raw message