You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2021/03/22 16:13:13 UTC

[GitHub] [phoenix] lhofhansl commented on a change in pull request #1177: PHOENIX-6424 SELECT cf1.* FAILS with a WHERE clause including cf2.

lhofhansl commented on a change in pull request #1177:
URL: https://github.com/apache/phoenix/pull/1177#discussion_r598867205



##########
File path: phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
##########
@@ -496,6 +496,10 @@ private static void optimizeProjection(StatementContext context, Scan scan, PTab
                         trackedColumnsBitset.set(qualifier);
                     }
                 }
+            } else {
+                // cannot use EncodedQualifiersColumnProjectionFilter in this case
+                // since there's an unknown set of qualifiers (cf.*)
+                trackedColumnsBitset = null;

Review comment:
       Yeah... Lemme add that test and then merge.
   Thanks @virajjasani 




-- 
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:
users@infra.apache.org