Skip to content

Commit 3dff03d

Browse files
committed
Enable unique data source name
1 parent 6b6af34 commit 3dff03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/jobs/housing/housing_nec_migration_apply_gx_dq_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def main():
4646
df = pd.read_sql_query(sql_query, conn)
4747

4848
# set up batch
49-
data_source = context.data_sources.add_pandas("pandas")
49+
data_source = context.data_sources.add_pandas(f'{table}_pandas')
5050
data_asset = data_source.add_dataframe_asset(name=f'{table}_df_asset')
5151
batch_definition = data_asset.add_batch_definition_whole_dataframe("Athena batch definition")
5252
batch_parameters = {"dataframe": df}

0 commit comments

Comments
 (0)