[ 
https://issues.apache.org/jira/browse/IGNITE-28389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-28389:
--------------------------------------
    Description: 
Mapping test for partition pruning looks incorrect.

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

The mapping plan contains TableScans with 'false' predicate. 
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).

  was:
Mapping test for partition pruning looks incorrect.
It contains TableScans with 'false' predicate. 
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).


> SQL. Eliminate table scans with always_false predicate. 
> --------------------------------------------------------
>
>                 Key: IGNITE-28389
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28389
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql ai3
>            Reporter: Andrey Mashenkov
>            Priority: Major
>              Labels: ignite-3, tech-debt
>
> Mapping test for partition pruning looks incorrect.
> See 
> `modules/sql-engine/src/test/resources/mapping/test_partition_pruning.test`
> The mapping plan contains TableScans with 'false' predicate. 
> 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