Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ async fn test_aggregate_with_high_cardinality_with_limited_memory_and_different_
#[tokio::test]
async fn test_aggregate_with_high_cardinality_with_limited_memory_and_large_record_batch(
) -> Result<()> {
let record_batch_size = 8192;
let record_batch_size = 1024;
let pool_size = 2 * MB as usize;
let task_ctx = {
let memory_pool = Arc::new(FairSpillPool::new(pool_size));
Expand Down Expand Up @@ -530,7 +530,7 @@ async fn run_test_aggregate_with_high_cardinality(
futures::stream::iter((0..args.number_of_record_batches as u64).map(
move |index| {
let mut record_batch_memory_size =
get_size_of_record_batch_to_generate(index as usize);
get_size_of_record_batch_to_generate(index as usize); // 333
record_batch_memory_size = record_batch_memory_size
.saturating_sub(size_of::<u64>() * record_batch_size as usize);

Expand Down
1 change: 1 addition & 0 deletions datafusion/functions-aggregate-common/src/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.

pub mod array_agg;
pub mod avg_distinct;
pub mod count_distinct;
pub mod groups_accumulator;
Expand Down
Loading