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

Sergey Soldatov updated PHOENIX-4436:
-------------------------------------
    Labels: HivePhoenix  (was: )

> Hive PhoenixStorageHandler doesn't work well with quoted namespace/table 
> name. 
> -------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4436
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4436
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.13.0, 4.14.0
>            Reporter: Sergey Soldatov
>            Assignee: Sergey Soldatov
>              Labels: HivePhoenix
>
> With quoted schema name the table will be created, but not usable with an 
> exception about '\' character. The reason is that job properties in Hive are 
> stored using escaped java strings. So to correctly handle it we need to 
> unescape. 
> For quoted name the table creation would fail because we are using table name 
> in PK name prefixed by 'pk_'. So the PK name comes incorrect like 
> 'pk_"table_name"'. I think that there is no reason to generate constraint pk 
> name and we may use the constant. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to