jpisaac commented on a change in pull request #724: PHOENIX-5629 Phoenix
Function to Return HBase row timestamp
URL: https://github.com/apache/phoenix/pull/724#discussion_r401293884
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/compile/ProjectionCompiler.java
##########
@@ -507,6 +507,9 @@ public static RowProjector compile(StatementContext
context, SelectStatement sta
} else {
for (byte[] cq : entry.getValue()) {
PColumn column =
family.getPColumnForColumnQualifier(cq);
+ // Continue: If an EMPTY_COLUMN is in the
projection list, since
+ // no new KeyValue is returned.
+ if (column == null) continue;
Review comment:
This check is for the case when we add empty column in the projection list
and since empty column is not part of the table column list, we need to bypass
further processing.
----------------------------------------------------------------
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