Skip to content

Fix filter in Power BI for non-Latin characters#506

Merged
slabko merged 1 commit intoClickHouse:masterfrom
slabko:powerbi-non-latin-chars
Jun 6, 2025
Merged

Fix filter in Power BI for non-Latin characters#506
slabko merged 1 commit intoClickHouse:masterfrom
slabko:powerbi-non-latin-chars

Conversation

@slabko
Copy link
Copy Markdown
Contributor

@slabko slabko commented Jun 5, 2025

Fixes #449

Power BI cannot process the result of its own query if it does not find a corresponding WCHAR-compatible type in SQLGetTypeInfo. This change adds a second definition of String that also represents SQL_WCHAR, which fixes the filter functionality in Power BI for non-Latin characters.

Copy link
Copy Markdown

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

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

Looks good to me 🤙

💡 To request another review, post a new comment with "/windsurf-review".

@slabko slabko requested review from mshustov and slvrtrn June 5, 2025 12:00
Fixes #449

Power BI cannot process the result of its own query if it does not find
a corresponding WCHAR-compatible type in `SQLGetTypeInfo`.
This change adds a second definition of `String` that also represents
`SQL_WCHAR`, which fixes the filter functionality in Power BI for
non-Latin characters.
@slabko slabko merged commit eec10a4 into ClickHouse:master Jun 6, 2025
16 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.

In Power BI, filters break with non-Latin character values.

1 participant