Commit 6d481a6
Skip IPADDRESS in containers for expression fuzzer functions that trigger Presto Int128ArrayBlock.compareTo() bug (#16742)
Summary:
Pull Request resolved: #16742
Presto's `Int128ArrayBlock.compareTo()` is not implemented and throws
`UnsupportedOperationException` when called during hash-based deduplication
(via TypedSet/BlockSet) on containers with IPADDRESS elements. This causes
the expression fuzzer with Presto SOT to fail on `distinct_from` and
`array_union` when IPADDRESS is nested in containers with duplicate elements.
Rename `DistinctFromArgTypesGenerator` to `SkipIPAddressArgTypesGenerator`
since it now covers multiple functions, and add `array_union` alongside
`distinct_from` in both OSS and internal fuzzer tests.
See: prestodb/presto#26836
Reviewed By: kgpai
Differential Revision: D96264027
fbshipit-source-id: 4f26da4b4d18a0fd20de9794b978e981c3e943981 parent e8fd7cf commit 6d481a6
File tree
2 files changed
+11
-7
lines changed- velox
- expression/fuzzer
- functions/prestosql/fuzzer
2 files changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments