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: v19.2.3~140^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F62959%2Fhead;p=ceph.git hiding parquet dependencies upon parquet-select option is off Signed-off-by: Gal Salomon (cherry picked from commit 141b675b0b43b968d1ebdf505e31c4cda134f1d1) --- diff --git a/src/rgw/rgw_s3select.cc b/src/rgw/rgw_s3select.cc index f0b26824ca6b3..d8be76a6b1c04 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();