Serialization load-process does not update source-table
in joins, leading to broken questions
#15283
Labels
Operation/Serialization
Enterprise contents migration
Priority:P2
Average run of the mill bug
Type:Bug
Product defects
Milestone
Describe the bug
Serialization load-process does not update
source-table
in questions with explicit joins, leading to broken questions.To Reproduce
Value does not match schema: {:query {:joins [{:source-table (not (matches-some-precondition? a-java.lang.String))}]}}
and joined table is empty in Notebook (with a couple of browser console errors too):Full stacktrace
Information about your Metabase Installation:
Tested 1.35.4.1 thru 1.38.1
Additional context
Originally EE487 https://github.com/metabase/metabase-enterprise/issues/487
Workaround is to manually modify
report_card.dataset_query
references from the full path string to ID reference on the target.Workaround for Postgres - make sure to backup before running query - this should only be executed on the target appdb:
Note - you have to run the query multiple times until no more rows are updated.
This is a limitation of Postgres' "UPDATE ... FROM": https://www.postgresql.org/docs/current/sql-update.html#id-1.9.3.182.8
The text was updated successfully, but these errors were encountered: