[YCQL] Support selecting sub-field of a user-defined type #2786
Labels
area/ycql
Yugabyte CQL (YCQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-4680
For example, given the following schema:
Allow queries like:
These can be handled similarly to the
subscript_args
(used for e.g.m['x']
orl[2]['x']
) and may even be able to reuse most of that code (except for the parsing stage).As suggested by @nocaway, this should also add more tests for expressions involving (nested) udt's in general. E.g.:
SELECT tojson(nesting_udt) FROM ....
SELECT indexing_expression(nesting_udt) FROM ....
For example:
The text was updated successfully, but these errors were encountered: