# Creating redshift datasource behaves differently

**URL:** <https://discourse.greatexpectations.io/t/creating-redshift-datasource-behaves-differently/694>\
**Category:** Archive\
**Tags:** how-to, help-wanted\
**Created:** [March 30, 2021, 10:56am UTC](https://discourse.greatexpectations.io/t/creating-redshift-datasource-behaves-differently/694 "2021-03-30T10:56:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ridubey](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@ridubey](https://discourse.greatexpectations.io/u/ridubey)\
**Post date:** [March 30, 2021, 10:56am UTC](https://discourse.greatexpectations.io/t/creating-redshift-datasource-behaves-differently/694/1 "2021-03-30T10:56:19Z")

</div>

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

1. Troubleshooting the error that I get on my local machine  
or
2. setting up expectations and changing it without depending on the jupyter notebook

---

<div class="post-metadata">

**Author:** ![eugene.mandel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/eugene.mandel/32/22_2.png) [@eugene.mandel](https://discourse.greatexpectations.io/u/eugene.mandel)\
**Post date:** [April 20, 2021, 2:56pm UTC](https://discourse.greatexpectations.io/t/creating-redshift-datasource-behaves-differently/694/2 "2021-04-20T14:56:42Z")

</div>

@ridubey Could you please try this again on the latest release? If this still does not work, please report this as a bug in our GitHub issues.
