This is an automated email from the ASF dual-hosted git repository.
kadir pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push:
new a75c4dca12 PHOENIX-7469 Partitioned CDC Index for partitioned tables
(addendum)
a75c4dca12 is described below
commit a75c4dca1208075906e496c737c668c5f6af7d0c
Author: Kadir Ozdemir <[email protected]>
AuthorDate: Mon Nov 25 11:56:53 2024 -0800
PHOENIX-7469 Partitioned CDC Index for partitioned tables (addendum)
---
.../java/org/apache/phoenix/expression/function/PartitionIdFunction.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/phoenix-core-client/src/main/java/org/apache/phoenix/expression/function/PartitionIdFunction.java
b/phoenix-core-client/src/main/java/org/apache/phoenix/expression/function/PartitionIdFunction.java
index 382cea042e..53ecfecca7 100644
---
a/phoenix-core-client/src/main/java/org/apache/phoenix/expression/function/PartitionIdFunction.java
+++
b/phoenix-core-client/src/main/java/org/apache/phoenix/expression/function/PartitionIdFunction.java
@@ -66,6 +66,7 @@ public class PartitionIdFunction extends ScalarFunction {
if (tuple == null) {
return false;
}
+ tuple.getKey(ptr);
if (ptr.getLength() < PARTITION_ID_LENGTH) {
return false;
}