Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MDEV-30304: Json Range only affects first row of the result set
Analysis: Parsing json path happens only once. When paring, we set types of path (types_used) to use later. If the path type has range or wild card, only then multiple values get added to the result set. However for each row in the table, types_used still gets overwritten to default (no multiple values) and is also not set again (because path is already parsed). Since multiple values depend on the type of path, they dont get added to result set either. Fix: set default for types_used only if path is not parsed already.
- Loading branch information
1 parent
5d5735c
commit b915b96
Showing
3 changed files
with
34 additions
and
1 deletion.
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