[ 
https://issues.apache.org/jira/browse/CALCITE-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15706441#comment-15706441
 ] 

Maryann Xue commented on CALCITE-1425:
--------------------------------------

No. Every element in List<RelDataTypeField> is parallel to each other. The 
interface is to process one level of field at a time, but allows multiple 
matches, which means it does not throw ambiguous-column-exception or 
column-not-found-exception instantly. It is up to the caller to handle this. 
For getTargetField() in insert/upsert, the logic is simply throw exception is 
the resolved field count is not "1" or the left-over names is not empty. For 
resolveInNamespace(), I think the interface assigns with the logic that the 
"names" can be matched multiple times and added to "resolved".

> Support two-level column structure in INSERT/UPDATE/MERGE
> ---------------------------------------------------------
>
>                 Key: CALCITE-1425
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1425
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.10.0
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>              Labels: phoenix
>             Fix For: 1.11.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to