-
Notifications
You must be signed in to change notification settings - Fork 8k
Small refactoring in formats #31004
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
Small refactoring in formats #31004
Conversation
|
@Mergifyio update |
✅ Branch has been successfully updated |
|
Fast test failure: #31011 |
76f0c7e to
2dd4393
Compare
|
@Mergifyio update |
✅ Branch has been successfully updated |
|
|
| ${CLICKHOUSE_CLIENT} --query "CREATE TABLE file (x UInt64) ENGINE = File(TSV, '${CLICKHOUSE_DATABASE}/${m}.tsv.${m}')" | ||
| ${CLICKHOUSE_CLIENT} --query "TRUNCATE TABLE file" | ||
| ${CLICKHOUSE_CLIENT} --query "INSERT INTO file SELECT * FROM numbers(1000000)" | ||
| sleep 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Avogar why this sleep is required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually seems that this PR likely breaks performance tests - https://clickhouse-test-reports.s3.yandex.net/0/fc9ef14a736d62f121d27d3a23490ef7198190be/performance_comparison/report.html#fail1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually seems that this PR likely breaks performance tests - https://clickhouse-test-reports.s3.yandex.net/0/fc9ef14a736d62f121d27d3a23490ef7198190be/performance_comparison/report.html#fail1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually seems that this PR likely breaks performance tests - https://clickhouse-test-?>>reports.s3.yandex.net/0/fc9ef14a736d62f121d27d3a23490ef7198190be/performance_comparison/report.html#fail1
Thanks
In case of multiple writes File() engine will set doNotWritePrefix(), and this will avoid serializations initilization, move this to do this always. Fixes: ClickHouse#31004
Changelog category (leave one):
Try to make code in formats a bit better