Ajantha Bhat created CARBONDATA-2926:
----------------------------------------
Summary: ArrayIndexOutOfBoundException if varchar column is present before dictionary columns along with empty sort_columns.
Key: CARBONDATA-2926
URL:
https://issues.apache.org/jira/browse/CARBONDATA-2926 Project: CarbonData
Issue Type: Bug
Reporter: Ajantha Bhat
Assignee: Ajantha Bhat
ArrayIndexOutOfBoundException if varchar column is present before dictionary columns along with empty sort_columns.
cause:
CarbonFactDataHandlerColumnar.isVarcharColumnFull() method uses model.getVarcharDimIdxInNoDict()
and index of varchar column in no dictonary array became negative.
currently index was calculated based on ordinal-number of dictionary columns. This can go negative in no_sort column case,
solution:
take the varchar dimension index from no dictionary array from at runtime based on schema.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)