[ 
https://issues.apache.org/jira/browse/CALCITE-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Mate reassigned CALCITE-7476:
-----------------------------------

    Assignee: Tamas Mate

> Add a dedicated SqlColonOperator for colon field access
> -------------------------------------------------------
>
>                 Key: CALCITE-7476
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7476
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.41.0
>            Reporter: Tamas Mate
>            Assignee: Tamas Mate
>            Priority: Major
>
> CALCITE-7448 adds parser support for colon field access syntax such as 
> `v:field` and `v:['field']`.
> Right now this syntax is normalized to existing DOT / ITEM operators, which 
> means later validation and planning cannot tell whether the original syntax 
> used `:` or `.`.
> We should consider adding a dedicated `SqlColonOperator`, similar to 
> `SqlDotOperator`, so Calcite can preserve that distinction in the SQL tree 
> and apply colon-specific rules more cleanly. One example would be validating 
> colon access only for `VARIANT` values.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to