You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/plans/RecordQueryStreamingAggregationPlan.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -222,7 +222,7 @@ public RecordQueryStreamingAggregationPlan translateCorrelations(@Nonnull final
222
222
groupingKeyAlias,
223
223
aggregateAlias,
224
224
completeResultValue,
225
-
SerializationMode.TO_OLD);
225
+
serializationMode);
226
226
}
227
227
228
228
@Nonnull
@@ -234,7 +234,7 @@ public RecordQueryStreamingAggregationPlan withChild(@Nonnull final Reference ch
234
234
groupingKeyAlias,
235
235
aggregateAlias,
236
236
completeResultValue,
237
-
SerializationMode.TO_OLD);
237
+
serializationMode);
238
238
}
239
239
240
240
@Nonnull
@@ -478,7 +478,7 @@ public static RecordQueryStreamingAggregationPlan of(@Nonnull final Quantifier.P
Copy file name to clipboardExpand all lines: fdb-relational-core/src/test/java/com/apple/foundationdb/relational/recordlayer/query/GroupByQueryTests.java
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -50,15 +50,16 @@ public GroupByQueryTests() {
50
50
Utils.enableCascadesDebugger();
51
51
}
52
52
53
-
@Disabled// doesn't work for serializationMode = TO_OLD, re-enable after serializationMode = TO_NEW
54
53
@Test
55
54
voidgroupByWithScanLimit() throwsException {
56
55
finalStringschemaTemplate =
57
56
"CREATE TABLE T1(pk bigint, a bigint, b bigint, c bigint, PRIMARY KEY(pk))" +
58
57
"CREATE INDEX idx1 as select a, b, c from t1 order by a, b, c";
// scan pk = 5 and pk = 4 rows, hit SCAN_LIMIT_REACHED
83
-
Assertions.assertTrue(statement.execute("EXECUTE CONTINUATION " + Base64.getEncoder().encodeToString(continuation.serialize())), "Did not return a result set from a select statement!");
// scan pk = 6 and pk = 8 rows, hit SCAN_LIMIT_REACHED
90
-
Assertions.assertTrue(statement.execute("EXECUTE CONTINUATION " + Base64.getEncoder().encodeToString(continuation.serialize())), "Did not return a result set from a select statement!");
// scan pk = 7 and pk = 9 rows, hit SCAN_LIMIT_REACHED
98
-
Assertions.assertTrue(statement.execute("EXECUTE CONTINUATION " + Base64.getEncoder().encodeToString(continuation.serialize())), "Did not return a result set from a select statement!");
Assertions.assertTrue(statement.execute("EXECUTE CONTINUATION " + Base64.getEncoder().encodeToString(continuation.serialize())), "Did not return a result set from a select statement!");
0 commit comments