Skip to content

Power BI - using UTF8_LCASE column returns error Unable to understand the type for column #4306

@wgrusznis

Description

@wgrusznis

What happened?

Using ADBC driver in Power BI returns error for COLLATE UTF8_LCASE columns
hard to say exactly where is it coming from - PBI wraps drivers in powerQuery layer, almost sure the driver itself is the csharp one

An error occurred in the ‘’ query. Expression.Error: Unable to understand the type for column
Details:
c2

This is PowerQuery that I used for testing and replicating this bug.

= Value.NativeQuery(
Databricks.Catalogs(
"<DATABRICKS_HOST>",
"<SQL_WAREHOUSE_PATH>",
[
Catalog = "<CATALOG_NAME>",
Database = null,
QueryTags = null,
EnableAutomaticProxyDiscovery = "enabled",
Implementation = "2.0"
]
){[Name = "<CATALOG_NAME>", Kind = "Database"]}[Data],
"select#(lf)
collation('Test') as t1#(lf)
,collation('Test' COLLATE UTF8_LCASE) as t2#(lf)
,'Test' as c1#(lf)
,'Test' COLLATE UTF8_LCASE as c2",
null,
[EnableFolding = true]
)

Stack Trace

No response

How can we reproduce the bug?

PowerQuery Implementation = "2.0" switches to ADBC driver, leaving it as null returns to ODBC mode (where UTF8_LCASE works correctly)

= Value.NativeQuery(
Databricks.Catalogs(
"<DATABRICKS_HOST>",
"<SQL_WAREHOUSE_PATH>",
[
Catalog = "<CATALOG_NAME>",
Database = null,
QueryTags = null,
EnableAutomaticProxyDiscovery = "enabled",
Implementation = "2.0"
]
){[Name = "<CATALOG_NAME>", Kind = "Database"]}[Data],
"select#(lf)
collation('Test') as t1#(lf)
,collation('Test' COLLATE UTF8_LCASE) as t2#(lf)
,'Test' as c1#(lf)
,'Test' COLLATE UTF8_LCASE as c2",
null,
[EnableFolding = true]
)

Environment/Setup

windows, power bi Version: 2.153.1206.0 64-bit (April 2026) , databricks via SQL warehouse (v 2026.10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions