summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_s3select.cc
diff options
context:
space:
mode:
authorGal Salomon <gal.salomon@gmail.com>2024-11-05 08:07:02 +0100
committerGal Salomon <gal.salomon@gmail.com>2024-11-05 16:30:12 +0100
commit141b675b0b43b968d1ebdf505e31c4cda134f1d1 (patch)
treeb33819cab6edc6fe785a3dca3a5e7d6c35c2280e /src/rgw/rgw_s3select.cc
parentMerge PR #58847 into main (diff)
downloadceph-141b675b0b43b968d1ebdf505e31c4cda134f1d1.tar.xz
ceph-141b675b0b43b968d1ebdf505e31c4cda134f1d1.zip
hiding parquet dependencies upon parquet-select option is off
Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
Diffstat (limited to 'src/rgw/rgw_s3select.cc')
-rw-r--r--src/rgw/rgw_s3select.cc2
1 files changed, 2 insertions, 0 deletions
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();