You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Siddharth Dave (Jira)" <ji...@apache.org> on 2023/03/10 18:44:00 UTC

[jira] [Created] (PHOENIX-6900) Enable paging feature when the phoenix query is made on the snapshot.

Siddharth Dave created PHOENIX-6900:
---------------------------------------

             Summary: Enable paging feature when the phoenix query is made on the snapshot.
                 Key: PHOENIX-6900
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6900
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Siddharth Dave


On regular Phoenix tables, Phoenix paging is enabled during the Phoenix M/R job - as part of PhoenixRecordReader:

[https://git.soma.salesforce.com/sdave/phoenix/blob/dd7c671af8f01336db6c52435239f8f13ae71788/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/PhoenixRecordReader.java#L145]

 

// this code enables paging

https://github.com/apache/phoenix/blob/fb2a14f9b8173eed62a30ed6e703c2d60661cd62/phoenix-core/src/main/java/org/apache/phoenix/util/ScanUtil.java#L1347

However, the above code is not invoked when the Phoenix M/R job is on a Table snapshot.

 

This issue, is to enable the paging for Snapshot queries as well. 

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)