Skip to content

Conversation

benbellick
Copy link
Contributor

@benbellick benbellick commented Oct 9, 2025

Closes #99
Closes #98

BREAKING CHANGE: drop explicit support for JSON api

Also drop json test which depends on contents of substrait-cpp library
There is no official substrait JSON API, though users are more than
welcome to use the official JSON representation of protobufs in
general. Considering that these functions were just thin wrappers
around the protobuf JSON api and that the tests are really just
testing another libraries code, it made sense to remove them.

BREAKING CHANGE: drop functions handling JSON versions of plans.
/ "substrait"
/ "textplan"
/ "data"
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So as I understand it, this test is functionally just proving that the underlying protobuf library works by serializing and then parsing a plan, without using any of the logic of substrait-python itself. Considering that it makes sense to remove the dependency on substrait-cpp, it makes sense to remove this file, which grabs the test files from substait-cpp. Furthermore, it isn't really testing anything within this library.

Copy link

github-actions bot commented Oct 9, 2025

ACTION NEEDED

Substrait follows the Conventional Commits
specification
for
release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

@CLAassistant
Copy link

CLAassistant commented Oct 9, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@EpsilonPrime EpsilonPrime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this affect the setup instructions?

@benbellick
Copy link
Contributor Author

Does this affect the setup instructions?

@EpsilonPrime yes it does, thanks for pointing that out. Will push a fix

@benbellick benbellick changed the title Drop JSON functions and dependency on substrait-cpp fix: drop JSON functions and dependency on substrait-cpp Oct 9, 2025
@benbellick benbellick changed the title fix: drop JSON functions and dependency on substrait-cpp feat: drop JSON functions and dependency on substrait-cpp Oct 9, 2025
@benbellick benbellick merged commit c9fb2a6 into substrait-io:main Oct 11, 2025
19 of 22 checks passed
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.

Drop unofficial substrait JSON API Drop dependency on substrait-cpp

5 participants