]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
adding recent update: json-output and more
authorGal Salomon <gal.salomon@gmail.com>
Tue, 13 Feb 2024 15:47:26 +0000 (17:47 +0200)
committerGal Salomon <gal.salomon@gmail.com>
Fri, 1 Mar 2024 04:45:03 +0000 (06:45 +0200)
Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
src/rgw/rgw_s3select.cc
src/s3select

index 7a407b530469607ad5f5404d6e794d005c96d28d..bb2c3686792a9cf65d1ad2129319a808a0ea221c 100644 (file)
@@ -529,7 +529,8 @@ int RGWSelectObj_ObjStore_S3::run_s3select_on_json(const char* query, const char
   }
     
   //initializing json processor
-  m_s3_json_object.set_json_query(&s3select_syntax);
+  json_object::csv_definitions output_definition;
+  m_s3_json_object.set_json_query(&s3select_syntax,output_definition);
 
   if (input == nullptr) {
     input = "";
index 91d843873ff0411ec08445ab71ec85e62f5e2ea7..1ae458f1b8df4447860cb666031e3e416e2c931f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 91d843873ff0411ec08445ab71ec85e62f5e2ea7
+Subproject commit 1ae458f1b8df4447860cb666031e3e416e2c931f