Skip to content

added dummy data processor to access response input stream #1666

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

Merged
merged 5 commits into from
Jun 3, 2024

Conversation

chernser
Copy link
Contributor

@chernser chernser commented Jun 1, 2024

Summary

Client wraps the response input stream with a data processor so the last one is only way to read data. Currently only few processors exist: RowBinary processors and TabSeparated for text formats. However other formats are expected to be read by 3rd party libraries and exposing input stream is fine in such cases.
The minimal approach here is to add com.clickhouse.data.format.ClickHouseNativeProcessor that will have minimal implementation and will let to access an input stream

Closes:
- #1494
- #1567
- #1475
- #1376

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG

@chernser chernser requested a review from mzitnik June 1, 2024 21:48
Copy link

@arunmozhi-ra-exa arunmozhi-ra-exa left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants