Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
After MDEV-25848 implements multi-value indexes, the optimizer could use those to perform efficient searches for JSON data.
This will achieve either of the goals:
Goal 1: index do searches like in MySQL:
create index idx1 on t1 ((cast(a->'$.arr' as unsigned array))); |
explain select * from t101 where 4 member of (a->'$.arr'); |
Goal 2 Support index lookups for generic JSON predicates like
JSON_VALUE(js_column, '$.attribute_name') = 'value' |
WHERE column->json_attr = 'foo';
Attachments
Issue Links
- relates to
-
MDEV-25848 Support for Multi-Valued Indexes
-
- Open
-
-
MDEV-37288 JSON Comparator: does MariaDB need one?
-
- Closed
-