I have data from SQL Server that I need to manipulate in Apache Spark (Databricks).
In SQL Server, three of this table's key columns use a case-sensitive COLLATION option, so that these specific columns are case-sensitive, but others in the table are not. These columns are short, alpha-numeric identifiers from a vendor application, and we must be able to use them in a case-sensitive manner in predicates and join conditions, while being able to use others in a case-insensitive manner.
The table was exported as CSV.
Is there a way to mix case-sensitive and case-insensitive column comparisons in a DataFrame, aside from using lower and upper functions? I can also import this CSV into a Databricks Table, but that does not seem to offer similar collation options at a metadata level for joins.
Thank you.