facebookincubator / velox

A composable and fully extensible C++ execution engine library for data management systems.
https://velox-lib.io/
Apache License 2.0
3.53k stars 1.16k forks source link

Presto fuzzer failure: Map is not orderable type #11549

Open rui-mo opened 1 week ago

rui-mo commented 1 week ago

Description

Failure found when testing velox_expression_fuzzer_test in CI.

Error Reproduction

E20241115 04:04:50.452534 71 Exceptions.h:66] Line: /w/velox/velox/velox/velox/vector/ComplexVector.cpp:1232, Function:compare, Expression: flags.nullAsValue() || flags.equalsOnly Map is not orderable type, Source: RUNTIME, ErrorCode: INVALID_STATE E20241115 04:04:50.453199 71 ExpressionVerifier.cpp:217] Common eval: VeloxRuntimeErrors other than UNSUPPORTED_INPUT_UNCATCHABLE error are not allowed. terminate called after throwing an instance of 'facebook::velox::VeloxRuntimeError' what(): Exception: VeloxRuntimeError Error Source: RUNTIME Error Code: INVALID_STATE Reason: Map is not orderable type Retriable: False Expression: flags.nullAsValue() || flags.equalsOnly Context: gte(a0, __a1) Additional Context: Top-level Expression: transform_keys(c5, (a0, a1) -> gte(a0, a1)) Function: compare File: /__w/velox/velox/velox/velox/vector/ComplexVector.cpp Line: 1232

Relevant logs

https://github.com/facebookincubator/velox/actions/runs/11849529401/job/33024236678?pr=8863