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

Rajeshbabu Chintaguntla updated PHOENIX-3256:
---------------------------------------------
    Attachment: PHOENIX-3256.patch

[~maryannxue] Here is the patch supports CREATE/DROP/USE SCHEMAs DDL supports. 
I think we need to do some changes in all DDL statements like if there is not 
schema specified in the DDLs we need to make use of current schema set by USE 
SCHEMA or also do we need to map this schemas with calcite schemas?
With the patch facing some calcite caching issues like the tables are cached in 
SqlValidator so that if we have same table names but different columns in the 
table then it's resolving incorrect columns from the cache.

And also in PhoenixSchema I saw there are some TODOs implementing them may be 
useful? or it's different?
{noformat}
 * TODO
 * 1) change this to non-caching mode??
 * 2) how to deal with define indexes and views since they require a 
CalciteSchema
 *    instance??
{noformat}

> Support CREATE SCHEMA in Phoenix-Calcite Integration
> ----------------------------------------------------
>
>                 Key: PHOENIX-3256
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3256
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>         Attachments: PHOENIX-3256.patch
>
>




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

Reply via email to