phoenix
phoenix copied to clipboard
PHOENIX-4804 PhoenixStorageHandler ERROR: Undefined column
- modify DEFAULT_IS_NAMESPACE_MAPPING_ENABLED/DEFAULT_IS_SYSTEM_TABLE_MAPPED_TO_NAMESPACE to true
- fix PHOENIX-4804 bugs (https://issues.apache.org/jira/browse/PHOENIX-4804)
In some case columnList will be start with a temp string , the replaceColumns method should filter it.
hive.io.file.readcolumn.ids is null hive.io.file.readcolumn.names is , col1,col2,col3
In this case columnList is " , col1,col2,col3",when phoenix compile the query ,the result is SELECT "","COL1","COL2","COL3" from TABLENAME exception throw java.lang.RuntimeException(org.apache.phoenix.schema.ColumnNotFoundException: ERROR 504 (42703): Undefined column. columnName=TABLENAME
Why should column names to be capitalized