Closed replay closed 2 years ago
Status | Branch | Result |
---|---|---|
β | 1.1.x |
Please refer to the Backport tool documentation
Status | Branch | Result |
---|---|---|
β | 1.1.x |
Please refer to the Backport tool documentation
Status | Branch | Result |
---|---|---|
β | 1.1.x |
Please refer to the Backport tool documentation
The helper
handleInvalidParameters()
only raises the given exception whensettings.ENFORCE_INPUT_VALIDATION
isTrue
, if it'sFalse
then it only logs an error and swallows the exception with the intention to try whether the query may succeed despite the invalid input.But if a data processing function has raised an exception, then this is not recoverable and there is no point in continuing to try whether the execution still succeeds.
This also improves the returned error when
ENFORCE_INPUT_VALIDATION
isFalse
, because without this change the execution will continue and then a not very useful exception gets raised byevaluateScalarTokens()
.This is with the current master and
ENFORCE_INPUT_VALIDATION=False
:And in this branch: