Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
4.13.0, 4.14.0
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
PHOENIX-4420 org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: org.apache.phoenix.exception.PhoenixParserException: ERROR 601 (42P00): Syntax error. Unexpected char: '\'
- Resolved