Skip to content

Commit

Permalink
OA: fix gold open access table name
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestaP committed Apr 16, 2024
1 parent a2c4ca5 commit a126e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dags/open_access/gold_open_access_mechanisms.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ def join(values, **kwargs):
unpacked_results = join(results)

PostgresOperator(
task_id="populate_open_access_table",
task_id="populate_golden_open_access",
postgres_conn_id="superset_qa",
sql="""
SET search_path TO oa;
INSERT INTO "oa.open_access" (year, cern_read_and_publish, cern_individual_apcs,
INSERT INTO "oa.golden_open_access" (year, cern_read_and_publish, cern_individual_apcs,
scoap3, other, other_collective_models, created_at, updated_at)
VALUES (%(years)s, %(cern_read_and_publish)s, %(cern_individual_apcs)s,
%(scoap3)s, %(other)s, %(other_collective_models)s,
Expand Down

0 comments on commit a126e4f

Please sign in to comment.