pysql-beam icon indicating copy to clipboard operation
pysql-beam copied to clipboard

Script crashes when query is not provided

Open ameenudheenirshad opened this issue 2 years ago • 1 comments

I tried to run script with passing table name only, which resulted in crash with error

File "/home/ameen/.virtualenvs/data-warehousing-exploration/lib/python3.8/site-packages/pysql_beam/sql_io/sql.py", line 242, in process source.query = source.query.strip(";") AttributeError: 'NoneType' object has no attribute 'strip' [while running 'Read from postgres/ReadFromSQL/SplitQuery']

ameenudheenirshad avatar Nov 25 '21 09:11 ameenudheenirshad