I tried creating a redshift datasource on two places, one on my local system and one on Domino Data labs.
On my local system I am not able to set an expectation suite against the new datasource and run into this error-
“”"
File “/Users/riteshdubey/opt/miniconda3/lib/python3.8/site-packages/great_expectations/render/renderer/suite_scaffold_notebook_renderer.py”, line 17, in init
self.batch = self.load_batch()
File “/Users/riteshdubey/opt/miniconda3/lib/python3.8/site-packages/great_expectations/render/renderer/suite_scaffold_notebook_renderer.py”, line 118, in load_batch
batch = self.context.get_batch(self.batch_kwargs, self.suite)
File “/Users/riteshdubey/opt/miniconda3/lib/python3.8/site-packages/great_expectations/data_context/data_context.py”, line 1421, in get_batch
return self._get_batch_v2(
File “/Users/riteshdubey/opt/miniconda3/lib/python3.8/site-packages/great_expectations/data_context/data_context.py”, line 1147, in _get_batch_v2
return validator.get_dataset()
File “/Users/riteshdubey/opt/miniconda3/lib/python3.8/site-packages/great_expectations/validator/validator.py”, line 1431, in get_dataset
return self.expectation_engine(
File “/Users/riteshdubey/opt/miniconda3/lib/python3.8/site-packages/great_expectations/dataset/sqlalchemy_dataset.py”, line 508, in init
self._table = sa.Table(table_name, sa.MetaData(), schema=schema)
AttributeError: ‘NoneType’ object has no attribute ‘Table’
“”"
And on Domino data labs there is issue with launching jupyter-notebook so I am not able to do anything.
Can someone help me in either
- Troubleshooting the error that I get on my local machine
or - setting up expectations and changing it without depending on the jupyter notebook