-
Notifications
You must be signed in to change notification settings - Fork 14
feat: drop JSON functions and dependency on substrait-cpp #100
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
Conversation
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" | ||
) |
There was a problem hiding this comment.
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.
ACTION NEEDED Substrait follows the Conventional Commits The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. |
There was a problem hiding this 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?
@EpsilonPrime yes it does, thanks for pointing that out. Will push a fix |
Closes #99
Closes #98
BREAKING CHANGE: drop explicit support for JSON api