Skip to content

Add test: No test verifies actual INSERT dedup behavior with complex column types (Nullable, Array, Tuple, Map) - #101733

Closed
clickgapai wants to merge 1 commit into
ClickHouse:masterfrom
clickgapai:qa-bot/coverage-pr101494
Closed

clickgapai wants to merge 1 commit into
ClickHouse:masterfrom
clickgapai:qa-bot/coverage-pr101494

Conversation

@clickgapai

Copy link
Copy Markdown
Contributor

Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.

Adds test coverage for 1 untested code path(s), found during automated review of PR #101494.

1. No test verifies actual INSERT dedup behavior with complex column types (Nullable, Array, Tuple, Map)
src/Columns/ColumnNullable.cpp:60, src/Columns/ColumnArray.cpp:306
Why this test: 01781_merge_tree_deduplication.sql creates tables with only UInt64/String columns. 03711_deduplication_blocks_part_log.sql verifies hash IDs but never inserts the same data twice to test dedup rejecti
What's unique: PR's test (03711) only checks deduplication_block_ids in system.part_log — it never inserts the same data twice to verify actual dedup rejection. This test inserts duplicate data and verifies row coun
Tags: -- Tags: no-parallel — no-parallel: uses fixed table names (test_dedup_*) that could collide with parallel test runs

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

Not applicable — test-only change.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Found during review of PR #101494.

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.

2 participants