Open DineshBaratam-5 opened 1 month ago
I also get this while making table or query assets with sql server data sources. Validator.columns() appears to return null, but validator.head() returns a valid dataframe with a header, so I'm not sure what is happening there.
Hi Team, can anyone please provide work around or solution to this approach other than in-memory data asset. Our requirement is to access the data asset anywhere in other notebooks. If we are using in memory data asset it was not possible. Is there any possible way to convert the in-memory data asset to SQL data asset so that we can access it anywhere in the framework. As of now we are using Azure SQL Server as source and implementing the framework in Azure Databricks.
Describe the bug After creating data context using dbfs path in azure databricks, connected to azure sql server data source and a table asset. Created a expectation suite and tried to validate the expectations on top of the table asset. Validator is throwing an issue shown as "NoneType object is not iterable". I have tried the same in local environment instead of databricks and got the same issue.
To Reproduce PFB the code snippet I executed in azure databricks cloud environment
After executing above code everything is working fine till creation of validator and an error is being thrown at the line "validator.expect_column_values_to_not_be_null(column="ProductID")". PFB the total error trace.
Expected behavior Gx workflow should execute, and the validator should save the expectation suite after validating the given expectation.
Environment: