Hello,
I am trying to run the expectation in Azure Databricks environmment:
validator.expect_column_value_lengths_to_be_between(column=“public_remarks”, min_value=1, max_value=2000, result_format={“result_format”: “COMPLETE”})
and although the column=“public_remarks” is of string format it raises the error
MetricResolutionError: [CANNOT_RESOLVE_DATAFRAME_COLUMN] Cannot resolve dataframe column “public_remarks”. It’s probably because of illegal references like df1.select(df2.col("a"))
. SQLSTATE: 42704
What can be wrong?