Skip to content

added dummy data processor to access response input stream#1666

Merged
chernser merged 5 commits into
mainfrom
fix_npe_get_inputstream
Jun 3, 2024
Merged

added dummy data processor to access response input stream#1666
chernser merged 5 commits into
mainfrom
fix_npe_get_inputstream

Conversation

@chernser

@chernser chernser commented Jun 1, 2024

Copy link
Copy Markdown
Contributor

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

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

Copy link
Copy Markdown

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