Skip to content

Conversation

@Avogar
Copy link
Member

@Avogar Avogar commented Nov 2, 2021

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Try to make code in formats a bit better

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Nov 2, 2021
@Avogar
Copy link
Member Author

Avogar commented Nov 2, 2021

@Mergifyio update

@mergify
Copy link
Contributor

mergify bot commented Nov 2, 2021

update

✅ Branch has been successfully updated

@nikitamikhaylov nikitamikhaylov self-assigned this Nov 2, 2021
@Avogar
Copy link
Member Author

Avogar commented Nov 2, 2021

Fast test failure: #31011

@Avogar
Copy link
Member Author

Avogar commented Nov 8, 2021

@Mergifyio update

@mergify
Copy link
Contributor

mergify bot commented Nov 8, 2021

update

✅ Branch has been successfully updated

@Avogar
Copy link
Member Author

Avogar commented Nov 12, 2021

01059_storage_file_compression fail - found bug in master. WIll be fixed in #31265

@Avogar Avogar merged commit f27fcf8 into ClickHouse:master Nov 17, 2021
${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
Copy link
Member

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?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

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?

It was just a temporary solution to fix failing test, because I needed these changes in the other PRs. The real fix is in #31265

Copy link
Member Author

Choose a reason for hiding this comment

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

azat added a commit to azat/ClickHouse that referenced this pull request Nov 20, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants