icexelloss commented on code in PR #34156:
URL: https://github.com/apache/arrow/pull/34156#discussion_r1107234617


##########
python/pyarrow/includes/libarrow_substrait.pxd:
##########
@@ -34,10 +51,27 @@ cdef extern from "arrow/engine/substrait/options.h" 
namespace "arrow::engine" no
         BEST_EFFORT \
             "arrow::engine::ConversionStrictness::BEST_EFFORT"
 
+    cdef cppclass CExtensionDetails \
+        "arrow::engine::ExtensionDetails"
+
+    cdef cppclass CExtensionProvider \
+            "arrow::engine::ExtensionProvider":
+        CResult[CRelationInfo] MakeRel(
+            const CConversionOptions conv_opts,
+            const vector[CDeclarationInfo]& inputs,
+            const CExtensionDetails& ext_details,
+            const CExtensionSet& ext_set)
+
+    cdef shared_ptr[CExtensionProvider] default_extension_provider()
+    cdef void set_default_extension_provider(
+        const shared_ptr[CExtensionProvider]& provider)
+
     cdef cppclass CConversionOptions \
             "arrow::engine::ConversionOptions":
+        CConversionOptions()
         ConversionStrictness conversion_strictness
         function[CNamedTableProvider] named_table_provider

Review Comment:
   Hmm..why do we expose extension_provider and not named_tap_provider then?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to