Repository navigation
Commit 3a195e8
committed
refactor: remove redundant short IN list type check
Query planning converts the column and IN-list values to the same type
before this rule runs. Remove the extra type check while keeping the
requirement that list values are constants.
Update the test to convert Int32 list values to the Int64 column type
before checking both IN and NOT IN.1 parent 084ce26 commit 3a195e8
2 files changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5172 | 5172 | | |
5173 | 5173 | | |
5174 | 5174 | | |
5175 | | - | |
5176 | | - | |
5177 | | - | |
5178 | | - | |
5179 | | - | |
| 5175 | + | |
| 5176 | + | |
| 5177 | + | |
| 5178 | + | |
| 5179 | + | |
| 5180 | + | |
5180 | 5181 | | |
5181 | 5182 | | |
5182 | 5183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
0 commit comments