Apparently some Databricks backend implementations return capital database-types
Converting the input database-type to lowercase before running the re-matches does the trick in getting the appropriate type for me.
It would be great if you could accept this fix for this driver. However, I do think the better solution would be to fix it in the Metabase maintained SparkSQL driver eventually. I'll open up a PR there too
Apparently some Databricks backend implementations return capital
database-types
Converting the input
database-type
to lowercase before running there-matches
does the trick in getting the appropriate type for me.It would be great if you could accept this fix for this driver. However, I do think the better solution would be to fix it in the Metabase maintained SparkSQL driver eventually. I'll open up a PR there too
Cheers!