Skip to content

refactor(cubejs/profiler): enhance initial profile SQL generation for ClickHouse enums and arrays#51

Merged
akshaykumar2505 merged 1 commit into
mainfrom
fix/profiler-clickhouse-enum-array
Apr 28, 2026
Merged

refactor(cubejs/profiler): enhance initial profile SQL generation for ClickHouse enums and arrays#51
akshaykumar2505 merged 1 commit into
mainfrom
fix/profiler-clickhouse-enum-array

Conversation

@akshaykumar2505
Copy link
Copy Markdown
Member

No description provided.

… ClickHouse enums and arrays

- Updated the handling of ClickHouse Enum8/Enum16 types to use `uniq` instead of `uniqIf` to avoid invalid comparisons with empty strings.
- Introduced a new utility function `isChEnumType` to identify Enum types.
- Enhanced SQL generation for Array columns to include distinct counts and value rows.
- Adjusted tests to validate the new behavior for Enum and Array types in the initial profiling process.
@akshaykumar2505 akshaykumar2505 merged commit e8a209f into main Apr 28, 2026
3 checks passed
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.

3 participants