Skip to content

Adapt tests to latest ClickHouse#300

Merged
ruslandoga merged 2 commits intomasterfrom
fix-ci
Mar 17, 2026
Merged

Adapt tests to latest ClickHouse#300
ruslandoga merged 2 commits intomasterfrom
fix-ci

Conversation

@ruslandoga
Copy link
Collaborator

@ruslandoga ruslandoga commented Mar 17, 2026

Latest ClickHouse now returns 0 for written_rows by default.

@ruslandoga ruslandoga changed the title Adapt test to latest ClickHouse Adapt tests to latest ClickHouse Mar 17, 2026
assert {:ok, conn} = Ch.start_link()

assert {:ok, %{num_rows: 1, rows: [["async_insert", "Bool", "0"]]}} =
Ch.query(conn, "show settings like 'async_insert'", [], query_options)
Copy link
Collaborator Author

@ruslandoga ruslandoga Mar 17, 2026

Choose a reason for hiding this comment

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

Default async_insert is now 1, and that's the reason for written_rows being 0.

@ruslandoga ruslandoga merged commit 45c363f into master Mar 17, 2026
7 checks passed
@ruslandoga ruslandoga deleted the fix-ci branch March 17, 2026 17:43
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.

1 participant