Kristofferjoha commented on code in PR #27360:
URL: https://github.com/apache/datafusion/pull/27360#discussion_r4682662134


##########
datafusion/sqllogictest/test_files/aggregate_utf8view_partial_emit.slt:
##########
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
+# Reproducer from https://github.com/apache/datafusion/issues/27323
+#
+# GROUP BY k, s on a file sorted by k, where s is Utf8View. The partial
+# aggregate emits a small batch every time k changes. Each batch must hold
+# only its own strings, or the order-preserving repartition runs out of
+# memory under the limits below.
+
+statement ok
+SET datafusion.execution.target_partitions = 8

Review Comment:
   Makes sense, thought it was a memory issue. Dropped it down to 200k



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to