Skip to content

test: add advanced dictionary test#23483

Open
Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/advanced-dictionary-aggreation-sqltest
Open

test: add advanced dictionary test#23483
Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/advanced-dictionary-aggreation-sqltest

Conversation

@Rich-T-kid

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

follow up PR for #23280

Rationale for this change

see comment #23280 (comment)

What changes are included in this PR?

Adds SQL logic tests to verify that GROUP BY on dictionary-encoded columns resolves on values rather than raw dictionary key integers. The tests use UNION ALL between independently-encoded subqueries (mixing Int32/Int16/Int8 key types and Utf8/LargeUtf8 value types)

Are these changes tested?

the test cover

  • Correct grouping when the same value maps to different keys in different batches
  • No false merging of distinct values that happen to share the same key number
  • Null handling across batches with mismatched key assignments

Are there any user-facing changes?

no

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

cc @kosiew

@github-actions github-actions Bot added the sqllogictest SQL Logic Tests (.slt) label Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant