forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support UNSUPPORTED_INPUT_UNCATCHABLE VeloxRuntimeError in expression…
… fuzzer (facebookincubator#10993) Summary: Pull Request resolved: facebookincubator#10993 We recently made cast-varchar-to-integral throw VeloxRuntimeError on unicode inputs and made date-time functions throw VeloxRuntimeError when timestamps are out of supported range. The expression fuzzer tests have been failing due to these changes because VeloxRuntimeError is not allowed in fuzzer. This diff introduces a new ErrorCode `UNSUPPORTED_INPUT_UNCATCHABLE` to VeloxRuntimeError that is ignored in fuzzers, and makes the cast and date-time functions throw errors with this error code. Reviewed By: xiaoxmeng, kgpai Differential Revision: D62612232 fbshipit-source-id: 334d615555a12c47d9b2219dca1eb382edcfabf3
- Loading branch information
1 parent
648ae89
commit 8a6ab15
Showing
8 changed files
with
88 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters