Open shamanoor opened 8 months ago
@shamanoor You appear to be using an old datasource class. See below for using our new "Fluent" style Datasources, click on the snowflake section for specific instructions. https://docs.greatexpectations.io/docs/guides/connecting_to_your_data/fluent/database/connect_sql_source_data.
Did you use quotes when creating the column in Snowflake?
Describe the bug Running a column expectation on a table with lower case column names returns a MetricResolutionError. It seems to fail to wrap the passed lower case column name with quotation marks . I read previous issues that have been closed as this problem should have been solved. Yet I still run into it and can't find a workaround.
To Reproduce
I add the datasource to my context. I create the batch request as below:
And get a validator from the context with the above batch request. I created the below validation which is giving issues:
I get the following error when running the expectation:
Expected behavior I was expecting the query to run without issue, with the column name "inname" in quotation marks in the query. It also seems odd I get the invalid identifier error with the column name in capital letters ('INNAME' instead of 'inname), but that doesn't seem to be the issue here.
Environment (please complete the following information):