This is an automated email from the ASF dual-hosted git repository.

westonpace pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e0c495d81 MINOR: [C++] Substrait example fix (#13592)
7e0c495d81 is described below

commit 7e0c495d818c58bcccf93b064a9a333e811c1bf4
Author: Vibhatha Lakmal Abeykoon <[email protected]>
AuthorDate: Wed Jul 13 21:27:15 2022 +0530

    MINOR: [C++] Substrait example fix (#13592)
    
    A recent refactor on File handling has not updated the example. Fixing it 
in this minor PR.
    
    Authored-by: Vibhatha Abeykoon <[email protected]>
    Signed-off-by: Weston Pace <[email protected]>
---
 cpp/examples/arrow/engine_substrait_consumption.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/examples/arrow/engine_substrait_consumption.cc 
b/cpp/examples/arrow/engine_substrait_consumption.cc
index 8ee6bf7a59..d4d9ba74f9 100644
--- a/cpp/examples/arrow/engine_substrait_consumption.cc
+++ b/cpp/examples/arrow/engine_substrait_consumption.cc
@@ -87,7 +87,7 @@ arrow::Future<std::shared_ptr<arrow::Buffer>> 
GetSubstraitFromServer(
             "items": [
               {
                 "uri_file": "file://FILENAME_PLACEHOLDER",
-                "format": "FILE_FORMAT_PARQUET"
+                "parquet": {}
               }
             ]
           }

Reply via email to