-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dataflow-expression: Add
json_valid
MySQL function
Determines if text is valid JSON. It has null propagation but only for text types. Non-text types return false. This commit adds `DfValue::is_any_json_like` which returns `true` for types that can be treated like JSON/JSONB. Fixes: ENG-1549 Release-Note-Core: Added support for the MySQL function `json_valid`. Change-Id: I5347c9571aa96f4975fca72597bc24096a16979c Reviewed-on: https://gerrit.readyset.name/c/readyset/+/3996 Tested-by: Buildkite CI Reviewed-by: Griffin Smith <[email protected]>
- Loading branch information
Showing
4 changed files
with
64 additions
and
2 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