[ https://issues.apache.org/jira/browse/CALCITE-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich moved HIVE-20689 to CALCITE-2608: -------------------------------------------------- Workflow: jira (was: no-reopen-closed, patch-avail) Issue Type: Improvement (was: Bug) Key: CALCITE-2608 (was: HIVE-20689) Project: Calcite (was: Hive) > Simplifying using predicates should consider not equals in case its a > predicate > ------------------------------------------------------------------------------- > > Key: CALCITE-2608 > URL: https://issues.apache.org/jira/browse/CALCITE-2608 > Project: Calcite > Issue Type: Improvement > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > > Right now simplifyUsingPredicates bails out for [all <> > comparisions|https://github.com/apache/calcite/blob/c39bfaa02a06ac91575076a6e74f29863923f5eb/core/src/main/java/org/apache/calcite/rex/RexSimplify.java#L1050]; > however if it's already an explicit predicate (or its negated one); then it > could be demoted to: > {code} > x IS NOT NULL or null > {code} > which could be further simplified in most cases.. -- This message was sent by Atlassian JIRA (v7.6.3#76005)