Repository navigation
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
Closed
clickgapai wants to merge 1 commit into
clickgapai wants to merge 1 commit into
Conversation
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:306Why 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 runsChangelog category (leave one):
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
Found during review of PR #101494.