Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(isthmus): support converting Substrait Plan.Root to Calcite RelRoot #339

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nielspardon
Copy link
Contributor

Isthmus currently only supports converting a Substrait Rel into a Calcite RelNode losing the final column names which are encoded in the Substrait Plan.Root and which should be converted into a Calcite RelRoot.

This PR adds a convert() method for converting a Substrait Plan.Root into a Calcite RelRoot preserving the final column names.

Currently, substrait-java does not support DML/DDL relations likeWriteRel so the conversion may have to be revisited once support for DML/DDL relations is being added.

Signed-off-by: Niels Pardon <par@zurich.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant