Skip to content

Fix kafka storage does not work with arrow and arrowstream format messages#23415

Merged
alexey-milovidov merged 1 commit intoClickHouse:masterfrom
godliness:fix-kafka-with-arrow
Apr 22, 2021
Merged

Fix kafka storage does not work with arrow and arrowstream format messages#23415
alexey-milovidov merged 1 commit intoClickHouse:masterfrom
godliness:fix-kafka-with-arrow

Conversation

@godliness
Copy link
Copy Markdown
Contributor

@godliness godliness commented Apr 21, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Kafka storage may support arrow and arrowstream format messages

Detailed description / Documentation draft:

Before:

prepareReader create file_reader or stream_reader before kafka messages received and available

After:

Put prepareReader into generate, when generate called kafka messages should be available

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Apr 21, 2021
@godliness godliness force-pushed the fix-kafka-with-arrow branch from b16a253 to 5354951 Compare April 21, 2021 10:09
@filimonov
Copy link
Copy Markdown
Contributor

LGTM. So that prepareReader was opening and trying to read the buffer in the constructor. It was obviously wrong. Such operations should not happen at construction time, generate is a proper place for that. Thanks!

Let's just wait for tests to pass.

@godliness
Copy link
Copy Markdown
Contributor Author

Let's just wait for tests to pass.

Thanks for your reviewed.

Checked the failed test, did not find any information related to this PR, so i think it's other reasons occur these test failed.

PTAL

@alexey-milovidov alexey-milovidov merged commit 1fcf198 into ClickHouse:master Apr 22, 2021
@alexey-milovidov
Copy link
Copy Markdown
Member

alexey-milovidov commented Apr 22, 2021

Integration tests (thread) — Timeout

This is just a timeout (tests take too long time).

Integration tests (asan) — fail: 1
test_polymorphic_parts/test.py::test_in_memory_wal

This fails currently in master, acknowledged.

SQLancer test — SQLancer test run. See report

This is a brand new check that we added a few days ago.
It does not pass right now, one of the fixes is here: #23359

@godliness
Copy link
Copy Markdown
Contributor Author

Integration tests (thread) — Timeout

This is just a timeout (tests take too long time).

Integration tests (asan) — fail: 1
test_polymorphic_parts/test.py::test_in_memory_wal

This fails currently in master, acknowledged.

SQLancer test — SQLancer test run. See report

This is a brand new check that we added a few days ago.
It does not pass right now, one of the fixes is here: #23359

Learned it!

Thanks!

robot-clickhouse pushed a commit that referenced this pull request Apr 22, 2021
robot-clickhouse pushed a commit that referenced this pull request Apr 22, 2021
robot-clickhouse pushed a commit that referenced this pull request Apr 22, 2021
kitaisreal added a commit that referenced this pull request Apr 23, 2021
Backport #23415 to 21.4: Fix kafka storage does not work with arrow and arrowstream format messages
kitaisreal added a commit that referenced this pull request Apr 23, 2021
Backport #23415 to 21.5: Fix kafka storage does not work with arrow and arrowstream format messages
kitaisreal added a commit that referenced this pull request Apr 23, 2021
Backport #23415 to 21.3: Fix kafka storage does not work with arrow and arrowstream format messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants