From 51adfb01c3a6c3c3672774a2d6654c851ecd3072 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Tue, 24 Sep 2024 04:58:18 -0600 Subject: [PATCH] Fix regression with TPC-H benchmark (#1060) * Fix regression with TPC-H benchmark * add link to issue --- ballista/executor/src/execution_loop.rs | 6 ++++++ .../src/state/execution_graph/execution_stage.rs | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ballista/executor/src/execution_loop.rs b/ballista/executor/src/execution_loop.rs index 111120bd2..0c169e2d0 100644 --- a/ballista/executor/src/execution_loop.rs +++ b/ballista/executor/src/execution_loop.rs @@ -32,6 +32,8 @@ use ballista_core::error::BallistaError; use ballista_core::serde::scheduler::{ExecutorSpecification, PartitionId}; use ballista_core::serde::BallistaCodec; use datafusion::execution::context::TaskContext; +use datafusion::functions::datetime::date_part; +use datafusion::functions::unicode::substr; use datafusion::functions_aggregate::covariance::{covar_pop_udaf, covar_samp_udaf}; use datafusion::functions_aggregate::sum::sum_udaf; use datafusion::functions_aggregate::variance::var_samp_udaf; @@ -199,6 +201,10 @@ async fn run_received_task