in Spark SQL, when doing a query against Databricks Delta tables, is there any way to make the string comparison case insensitive globally? i.e. when applying the WHERE clause for the columns I would like to avoid the "lcase" or "lower" function calls.
By default, these two WHERE clauses return different results depending on what the actual data is:
- WHERE somefield = 'blah blah"
- WHERE somefield = "Blah Blah"