tkhurana commented on code in PR #1712:
URL: https://github.com/apache/phoenix/pull/1712#discussion_r1399875119
##########
phoenix-core/src/main/java/org/apache/phoenix/compile/ProjectionCompiler.java:
##########
@@ -713,9 +782,10 @@ protected ColumnRef resolveColumn(ColumnParseNode node)
throws SQLException {
@Override
public Expression visit(ColumnParseNode node) throws SQLException {
Expression expression = super.visit(node);
- if (expression.getDataType().isArrayType()) {
- Integer count = arrayExpressionCounts.get(expression);
- arrayExpressionCounts.put(expression, count != null ? (count +
1) : 1);
+ if (expression.getDataType().isArrayType() ||
expression.getDataType()
Review Comment:
maybe add a helper function `parseOnServer(expression)`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]