Skip to content

Conversation

@tdcmeehan
Copy link
Contributor

No description provided.

Copy link
Contributor

@majetideepak majetideepak left a comment

Choose a reason for hiding this comment

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

The proposal looks good to me. Making the protocol layer pluggable is the missing piece for connector extensibility in Presto C++. Glad to see that happening here!

void deserialize(const std::string& binary,
std::shared_ptr<ConnectorSplit>& split) const override {
// Deserialize binary into protocol-specific type
ArrowFlightSplit protocolSplit;
Copy link
Contributor

Choose a reason for hiding this comment

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

This code block is not correct. Maybe copy a subset of the TpchConnectorProtocol code from your PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, done!

Copy link
Contributor

@majetideepak majetideepak left a comment

Choose a reason for hiding this comment

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

Thanks.

@majetideepak majetideepak merged commit 5b10b34 into prestodb:main Oct 23, 2025
tdcmeehan added a commit to prestodb/presto that referenced this pull request Nov 5, 2025
…ion codecs (#26257)

## Description
Add support for custom connector-provided serialization codecs

## Motivation and Context
This will allow plugin connectors to be written in C++.

RFC: prestodb/rfcs#49
End to end changes migrating TPCH to the new framework:
#26026

## Impact
No immediate impact

## Test Plan
Included tests

## Contributor checklist

- [ ] Please make sure your submission complies with our [contributing
guide](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md),
in particular [code
style](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#code-style)
and [commit
standards](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#commit-standards).
- [ ] PR description addresses the issue accurately and concisely. If
the change is non-trivial, a GitHub Issue is referenced.
- [ ] Documented new properties (with its default value), SQL syntax,
functions, or other functionality.
- [ ] If release notes are required, they follow the [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines).
- [ ] Adequate tests were added if applicable.
- [ ] CI passed.

## Release Notes

```
== NO RELEASE NOTE ==
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

from:IBM PRs from IBM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants