From: Gal Salomon Date: Tue, 5 Nov 2024 07:07:02 +0000 (+0200) Subject: hiding parquet dependencies upon parquet-select option is off X-Git-Tag: testing/wip-vshankar-testing-20241118.055430-debug~35^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=141b675b0b43b968d1ebdf505e31c4cda134f1d1;p=ceph-ci.git hiding parquet dependencies upon parquet-select option is off Signed-off-by: Gal Salomon --- diff --git a/src/rgw/rgw_s3select.cc b/src/rgw/rgw_s3select.cc index f0b26824ca6..d8be76a6b1c 100644 --- a/src/rgw/rgw_s3select.cc +++ b/src/rgw/rgw_s3select.cc @@ -762,7 +762,9 @@ void RGWSelectObj_ObjStore_S3::execute(optional_yield y) op_ret = -ERR_INVALID_REQUEST; } else { //status per amount of processed data +#ifdef _ARROW_EXIST m_aws_response_handler.update_total_bytes_returned(m_s3_parquet_object.get_return_result_size()); +#endif m_aws_response_handler.init_stats_response(); m_aws_response_handler.send_stats_response(); m_aws_response_handler.init_end_response();