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

Julian Hyde commented on PHOENIX-3351:
--------------------------------------

If I recall correctly, TenantId and similar columns are not system columns. 
They are simply columns that have a default value when you insert into a 
(modifiable) view. The view expansion should provide those values. (I don't 
remember where those values come from; some kind of session parameters, 
probably.) See CALCITE-505.

> Implement TODOs in PhoenixTableModify#upsert to allow writes to tenant 
> specific tables
> --------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3351
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3351
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>         Attachments: PHOENIX-3351_WIP.patch
>
>
> While running UDF IT tests came across this TODO which is necessary to 
> implement for tenant specific, local or view indexes tests to pass.
> {noformat}
>             // TODO TenantId, ViewIndexId, UpdatableViewColumns
>             final List<PColumn> mappedColumns = 
> targetTable.tableMapping.getMappedColumns();
> {noformat}



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

Reply via email to