This is an automated email from the ASF dual-hosted git repository.
vjasani pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push:
new 8039262208 PHOENIX-7580: ADDENDUM to fix compatibility with HBase 2.4
build (#2118) (#2116)
8039262208 is described below
commit 803926220859a317ee4e5d5b163e830d48dc3767
Author: sanjeet006py <[email protected]>
AuthorDate: Thu Apr 17 11:41:38 2025 +0530
PHOENIX-7580: ADDENDUM to fix compatibility with HBase 2.4 build (#2118)
(#2116)
---
.../phoenix/end2end/salted/SaltedTableWithParallelStatsEnabledIT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/salted/SaltedTableWithParallelStatsEnabledIT.java
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/salted/SaltedTableWithParallelStatsEnabledIT.java
index d3ec01b210..d5149554ad 100644
---
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/salted/SaltedTableWithParallelStatsEnabledIT.java
+++
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/salted/SaltedTableWithParallelStatsEnabledIT.java
@@ -153,7 +153,7 @@ public class SaltedTableWithParallelStatsEnabledIT extends
ParallelStatsEnabledI
for (int i = 0; i< saltBucketCount; i++) {
rowKeyPrefix[0] = (byte) i;
Scan scan = new Scan();
- scan.setStartStopRowForPrefixScan(rowKeyPrefix);
+ scan.setRowPrefixFilter(rowKeyPrefix);
try (ResultScanner scanner = hTable.getScanner(scan)) {
while(scanner.next() != null) {
rowCountFromHBase++;
@@ -266,7 +266,7 @@ public class SaltedTableWithParallelStatsEnabledIT extends
ParallelStatsEnabledI
Table hTable = conn.unwrap(PhoenixConnection.class)
.getQueryServices().getTable(tableName.getBytes());
Scan scan = new Scan();
- scan.setStartStopRowForPrefixScan(rowKeyPrefix);
+ scan.setRowPrefixFilter(rowKeyPrefix);
boolean pastFirstRow = false;
try (ResultScanner scanner = hTable.getScanner(scan)) {
Result r;