phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

PHOENIX-4804 PhoenixStorageHandler ERROR: Undefined column

Open gabry-lab opened this issue 6 years ago • 1 comments

  1. modify DEFAULT_IS_NAMESPACE_MAPPING_ENABLED/DEFAULT_IS_SYSTEM_TABLE_MAPPED_TO_NAMESPACE to true
  2. 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

gabry-lab avatar Nov 23 '18 06:11 gabry-lab

Why should column names to be capitalized

ghost avatar Oct 25 '21 08:10 ghost