You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2022/07/13 15:57:23 UTC

[arrow] branch master updated: MINOR: [C++] Substrait example fix (#13592)

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 <vi...@users.noreply.github.com>
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 <vi...@gmail.com>
    Signed-off-by: Weston Pace <we...@gmail.com>
---
 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": {}
               }
             ]
           }