Steve Carlin has posted comments on this change. ( http://gerrit.cloudera.org:8080/25027 )
Change subject: IMPALA-15490: Calcite planner: Normalize arithmetic HBO keys ...................................................................... Patch Set 1: Code-Review+1 I'm a bit iffy on this commit but giving a +1, though I may be misunderstanding it... It does find HBO matches where that it wouldn't find before, but it seems a bit contrived? So this will match "bigint % 17" with "bigint % cast(17 as bigint)" and that should match, so this commit does add value. But it won't help with "bigint % 17" versus "bigint % cast(17 as smallint)" or any variation where there is an explicit cast. I guess I see this commit making things better, but not sure anyone would actually vary the casting in their query in the first example which would make the normalization situation work when the other situation doesn't. And it misses other cases, as shown in case 2. Or am I missing a really obvious case where an end user might hit this? -- To view, visit http://gerrit.cloudera.org:8080/25027 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ieeab4a08f2f57d1baec7868200195c982544c465 Gerrit-Change-Number: 25027 Gerrit-PatchSet: 1 Gerrit-Owner: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Steve Carlin <[email protected]> Gerrit-Comment-Date: Wed, 28 Oct 2026 12:38:39 +0000 Gerrit-HasComments: No
