Skip to content

[Java] Proposal for Java Substrait Consumers #34223

@davisusanibar

Description

@davisusanibar

Describe the enhancement requested

Create a PoC reusing current Java component to try to call current C++ Susbtrait methods:

  1. Call to:
ARROW_ENGINE_EXPORT Result<std::shared_ptr<Buffer>> SerializeJsonPlan(const std::string& substrait_json);
  1. Then call to (only consider to pass Buffer input and maintain the another with their default values)
ARROW_ENGINE_EXPORT Result<std::shared_ptr<RecordBatchReader>> ExecuteSerializedPlan(
    const Buffer& substrait_buffer, const ExtensionIdRegistry* registry = NULLPTR,
    compute::FunctionRegistry* func_registry = NULLPTR,
    const ConversionOptions& conversion_options = {}, bool use_threads = true,
    MemoryPool* memory_pool = default_memory_pool());

Not consider this as the end integration/architecture, just reuse curren components to complete the PoC and in the next issue lets define the final integration/architecture that should be used.

Component(s)

Documentation, Java, Packaging

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions