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

Add protocol to the SPI module-info #24303

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

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Nov 28, 2024

Description

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@@ -31,6 +31,7 @@
exports io.trino.spi.memory;
exports io.trino.spi.metrics;
exports io.trino.spi.predicate;
exports io.trino.spi.protocol;
Copy link
Member

@martint martint Nov 28, 2024

Choose a reason for hiding this comment

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

Why does the SPI have a protocol package? Unless it’s for plugin implementations meant to extend the protocol, there shouldn’t be any dependencies between the protocol and SPI - I know there might be some legacy stuff around type serialization, but we should try to clean that up over time.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is for spooling manager SPI. We can move it to some other package if this is the wrong name for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(SpoolingManager is pluggable)

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, let’s rename the package. That’s doesn’t seem like the right name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What do you propose?

Copy link
Member

Choose a reason for hiding this comment

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

How about io.trino.spi.spool?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants