01-15-2026 04:39 AM
For all it's positives, one of the first general issues we had with databricks was case sensitivity.
We have a lot of data specific filters in our code
Problem is, we land and view data from lots of different case insensitive source systems e.g. SQL Server
As such, we have to be very careful with our code and convert columns to UPPER when making a comparison.
Most of our code is written in SQL.
About 18 months ago I asked whether there was going to be a catalog, schema or table setting for this i.e. make the object case insensitive.
I was told it was on its way.
Not heard anything since and cannot find anything.
Does anybody know whether this is in place or expected?
Thanks
01-16-2026 09:30 AM
Hi, You can set the default collation at Catalog level or schema level and the tables in the catalog will inherit the collation. This is supported from DBR 17.1 and above.
01-16-2026 09:37 AM
01-15-2026 05:11 AM - edited 01-15-2026 05:13 AM
Hi @dpc ,
I think you can try to use a collation for that purpose. A collation is a set of rules that determines how string comparisons are performed. Collations are used to compare strings in a case-insensitive, accent-insensitive, or trailing space insensitive manner, or to sort strings in a specific language-aware order.
01-16-2026 08:25 AM
Thanks.
Collation is table specific though isn't it? and you have to apply it to each columns.
Is there a was to just say, this schema, catalog or table is case insensitive or can you only do it by column?
01-16-2026 09:37 AM
01-16-2026 09:30 AM
Hi, You can set the default collation at Catalog level or schema level and the tables in the catalog will inherit the collation. This is supported from DBR 17.1 and above.
01-20-2026 12:59 AM
Thanks.
I'll test collation at catalog, sschema and table level using 17.1
01-22-2026 07:06 AM
Thanks @emma_s and @szymon_dybczak
Looks positive.
Some datatype issues moving to 17.1 but that's a separate issue.
I've run some simple tests and it works well so will trial it on out full data set
01-22-2026 07:27 AM
Great @dpc , good to hear that 🙂
01-23-2026 01:45 AM
It works but there's a scenario that causes an issue.
If I create a schema with defaultcollation UTF8_LCASE
Then create a table, it marks all the string columns as UTF8_LCASE
Which is fine and works
If I create the table, in the newly created UTF8_LCASE schema from an existing table using: