How can I access my spark SQL-query on aws-glue snowflake

49 views Asked by At

When I run my awsGlue job:

SELECT DISTINCT BANK_OBJECTID FROM {0}""".format(WAREHOUSE.HUB_GIS_ASSET_MAP)

I am getting the below error:

Traceback (most recent call last): File "/tmp/testglue", line 31, in <module> bike= """SELECT DISTINCT BANK_OBJECTID FROM {0}""".format(WAREHOUSE.HUB_GIS_ASSET_MAP) NameError: name 'WAREHOUSE' is not defined
0

There are 0 answers