ChinmaySKulkarni 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_r406607709
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/compile/ProjectionCompiler.java
 ##########
 @@ -507,6 +507,10 @@ 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 the table column list does not contain 
the EMPTY_COLUMN
+                            // no value is returned.
+                            if (column == null) continue;
 
 Review comment:
   nit: Can we use braces and put the `continue` on a separate line to be 
consistent with formatting?

----------------------------------------------------------------
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

Reply via email to