You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2023/06/02 16:53:13 UTC

[phoenix] branch 5.1 updated: PHOENIX-6965 UngroupedAggregateRegionScanner.insertEmptyKeyValue() generates too many cells

This is an automated email from the ASF dual-hosted git repository.

stoty 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 e2f18e3496 PHOENIX-6965 UngroupedAggregateRegionScanner.insertEmptyKeyValue() generates too many cells
e2f18e3496 is described below

commit e2f18e3496ebfaff2040e3d2e51acf58597a9f23
Author: Istvan Toth <st...@apache.org>
AuthorDate: Wed May 31 12:19:46 2023 +0200

    PHOENIX-6965 UngroupedAggregateRegionScanner.insertEmptyKeyValue() generates too many cells
---
 .../org/apache/phoenix/coprocessor/UngroupedAggregateRegionScanner.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionScanner.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionScanner.java
index 25ad562cc3..daebad4a75 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionScanner.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionScanner.java
@@ -548,6 +548,7 @@ public class UngroupedAggregateRegionScanner extends BaseRegionScanner {
                 put.addColumn(emptyCF, QueryConstants.EMPTY_COLUMN_BYTES, kvts,
                         ByteUtil.EMPTY_BYTE_ARRAY);
                 mutations.add(put);
+                timeStamps.add(kvts);
             }
         }
     }