Spark fuzzer failure: Cannot generate argument types for divide_deny_precision_loss
Closed this issue · 1 comments
Description
The decimal fuzzer test fails on Spark deny_precision_loss arithmetic functions.
Error Reproduction
/home/runner/work/velox/velox/velox/velox/expression/fuzzer/ExpressionFuzzer.cpp:1247, Function:generateExpressionFromSignatureTemplate, Expression: it != argGenerators_.end() Cannot generate argument types for divide_deny_precision_loss with return type DECIMAL(14, 11)., Source: RUNTIME, ErrorCode: INVALID_STATE
terminate called after throwing an instance of 'facebook::velox::VeloxRuntimeError'
what(): Exception: VeloxRuntimeError
Error Source: RUNTIME
Error Code: INVALID_STATE
Reason: Cannot generate argument types for divide_deny_precision_loss with return type DECIMAL(14, 11).
Retriable: False
Expression: it != argGenerators_.end()
Function: generateExpressionFromSignatureTemplate
File: /home/runner/work/velox/velox/velox/velox/expression/fuzzer/ExpressionFuzzer.cpp
Line: 1247
Relevant logs
https://github.com/facebookincubator/velox/actions/runs/11810480136/job/32904379256?pr=9559
I will work on the fix.