Skip to content

Commit

Permalink
Fix add_license_url DAG for last items (#4839)
Browse files Browse the repository at this point in the history
  • Loading branch information
krysal authored Sep 16, 2024
1 parent 8b2f037 commit 0a21bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/dags/maintenance/add_license_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def get_license_conf(license_info) -> dict:
f"AND meta_data->>'license_url' IS NULL"
),
# Merge existing metadata with the new license_url
"update_query": f"SET updated_on = NOW(), meta_data = ({Json(license_url_dict)}::jsonb || meta_data)",
"update_query": f"SET updated_on = NOW(), meta_data = (meta_data || {Json(license_url_dict)}::jsonb)",
"update_timeout": 259200, # 3 days in seconds
"dry_run": False,
"resume_update": False,
Expand Down

0 comments on commit 0a21bfc

Please sign in to comment.