Skip to content

Commit

Permalink
Fix the sql casting, #11117
Browse files Browse the repository at this point in the history
  • Loading branch information
njkim committed Jul 30, 2024
1 parent d622bfe commit 054ec1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/etl_modules/bulk_edit_concept.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def stage_data(
jsonb_set(
tiledata,
%(node_id_path)s,
replace(tiledata ->> %(node_id)s, %(old_id)s, %(new_id)s)::jsonb,
replace((tiledata -> %(node_id)s)::text, %(old_id)s, %(new_id)s)::jsonb,
false
),
tileid, nodegroupid, parenttileid, resourceinstanceid, %(load_id)s, 0, 'bulk_edit', 'update', true
Expand Down

0 comments on commit 054ec1f

Please sign in to comment.