Skip to content

Conversation

@M1eyu2018
Copy link
Contributor

After optimizing the hdfs seek method, if the target of the seek method exceeds a certain length, the blockReader's skip method will not be called again to prevent frequent calls to the readNextPacket method, thus improving the performance of the seek method.

@CLAassistant
Copy link

CLAassistant commented Nov 16, 2022

CLA assistant check
All committers have signed the CLA.

@zhanglistar
Copy link
Contributor

zhanglistar commented Feb 2, 2023

@alexey-milovidov @alesapin @kssenii This code is same as Java client, and we have tested in our env. which will reduce network flow when seeking offset is too long from current offset result a performance improvement. Please merge. Thanks.

@zhanglistar
Copy link
Contributor

@alexey-milovidov Do you want to merge this?

@alexey-milovidov alexey-milovidov self-assigned this Apr 10, 2023
@alexey-milovidov alexey-milovidov merged commit 937e923 into ClickHouse:master Apr 10, 2023
@alexey-milovidov
Copy link
Member

Thank you! We missed this PR.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants