ChinmaySKulkarni opened a new pull request #564: PHOENIX-5416: Fix Array2IT testArrayRefToLiteral URL: https://github.com/apache/phoenix/pull/564 For Arrays of `CHAR` and `BINARY` which are both fixed width and both have getByteSize() null, we run into an NPE. With this change, inside ArrayIndexFunction#getMaxLength, instead of returning this.children.get(0).getMaxLength(), we inspect the children.get(0) `LiteralExpression` and return the maxLength of the underlying PCharArray/PBinaryArray data.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
