Nikolay Izhikov created IGNITE-28560:
----------------------------------------

             Summary: Ignite 2.x - SQL. Eliminate table scans with always_false 
predicate.
                 Key: IGNITE-28560
                 URL: https://issues.apache.org/jira/browse/IGNITE-28560
             Project: Ignite
          Issue Type: Improvement
          Components: sql ai3
            Reporter: Andrey Mashenkov
            Assignee: Andrey Mashenkov
             Fix For: 3.2


Mapping test for partition pruning looks incorrect.

See `modules/sql-engine/src/test/resources/mapping/test_partition_pruning.test`

Explain plan contains TableScans with `predicate: false`. 
In case of `always false` predicate, the scan operation returns nothing and can 
be replaced by an empty source (e.g. with an empty Values node).



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

Reply via email to