You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2025/04/09 08:41:00 UTC
[jira] [Commented] (IGNITE-25060) Calcite engine. Wrong logic for common part of disjunction operands removal
[ https://issues.apache.org/jira/browse/IGNITE-25060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17942132#comment-17942132 ]
Ignite TC Bot commented on IGNITE-25060:
----------------------------------------
{panel:title=Branch: [pull/11988/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11988/head] Base: [master] : New Tests (24)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS (Compatibility){color} [[tests 24|https://ci2.ignite.apache.org/viewLog.html?buildId=8389454]]
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=true, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=1, cacheDump=false, customSnpPath=true, testCacheGrp=false] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=true, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=1, cacheDump=false, customSnpPath=true, testCacheGrp=true] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=true, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=3, cacheDump=false, customSnpPath=true, testCacheGrp=false] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=true, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=3, cacheDump=false, customSnpPath=true, testCacheGrp=true] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=true, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=1, cacheDump=false, customSnpPath=false, testCacheGrp=false] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=true, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=1, cacheDump=false, customSnpPath=false, testCacheGrp=true] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=false, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=1, cacheDump=true, customSnpPath=true, testCacheGrp=false] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=false, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=1, cacheDump=true, customSnpPath=true, testCacheGrp=true] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=true, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=3, cacheDump=false, customSnpPath=false, testCacheGrp=false] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=true, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=3, cacheDump=false, customSnpPath=false, testCacheGrp=true] - PASSED{color}
* {color:#013220}IgniteCompatibilityBasicTestSuite: SnapshotCompatibilityTest.testSnapshotRestore[incrementalSnp=false, consistentID=a1d9d6be-4d03-4d6b-b662-40dc18fbb7f8, oldNodesCnt=1, cacheDump=false, customSnpPath=true, testCacheGrp=false] - PASSED{color}
... and 13 new tests
{panel}
[TeamCity *--> Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8389503&buildTypeId=IgniteTests24Java8_RunAll]
> Calcite engine. Wrong logic for common part of disjunction operands removal
> ---------------------------------------------------------------------------
>
> Key: IGNITE-25060
> URL: https://issues.apache.org/jira/browse/IGNITE-25060
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: calcite, ise
>
> Entire disjunction should be eliminated if one of the operands became empty, for example:
> "(c1 = 0) or (c1 = 0 and c2 = 0) or (c1 = 0 and c2 = 1)"
> Should be converted to:
> "=($t0, 0)"
> But currently is converted to:
> "AND(=($t0, 0), SEARCH($t1, Sarg[0, 1]))"
> In case c1 = 0, c2 = 2 original expression returns "true", but converted return "false".
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)