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 2022/09/14 17:17:57 UTC

[GitHub] [phoenix] chrajeshbabu commented on a diff in pull request #1493: PHOENIX-6767 Traversing through all the guideposts to prepare paralleā€¦

chrajeshbabu commented on code in PR #1493:
URL: https://github.com/apache/phoenix/pull/1493#discussion_r971096883


##########
phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java:
##########
@@ -929,12 +929,19 @@ private static boolean clipKeyRangeBytes(RowKeySchema schema, int fieldIndex, in
      * @throws SQLException
      */
     private List<List<Scan>> getParallelScans(byte[] startKey, byte[] stopKey) throws SQLException {
-        List<HRegionLocation> regionLocations = getRegionBoundaries(scanGrouper);
-        List<byte[]> regionBoundaries = toBoundaries(regionLocations);
         ScanRanges scanRanges = context.getScanRanges();
         PTable table = getTable();
-        boolean isSalted = table.getBucketNum() != null;
         boolean isLocalIndex = table.getIndexType() == IndexType.LOCAL;
+        if(!isLocalIndex && scanRanges.isPointLookup()) {

Review Comment:
   Done.



-- 
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: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org