Ajantha Bhat created CARBONDATA-3995: ----------------------------------------
Summary: Support presto querying older complex type stores Key: CARBONDATA-3995 URL: https://issues.apache.org/jira/browse/CARBONDATA-3995 Project: CarbonData Issue Type: Bug Reporter: Ajantha Bhat Assignee: Ajantha Bhat Before carbon 2.0, complex child length is stored as SHORT for string, varchar, binary, date, decimal types. So, In 2.0 as it is stored as INT, presto complex query code always assumes it as INT and goes to out of bound exception when old store is queried. If INT_LENGTH_COMPLEX_CHILD_BYTE_ARRAY encoding is present, parse as INT, else parse as SHORT. so, that both stores can be queried. -- This message was sent by Atlassian Jira (v8.3.4#803005)