You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e3542e2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(seed): drop a replaced seed table once and set the fingerprint table up once per run
Each Snowflake seed load ran DROP TABLE IF EXISTS and then DROP VIEW IF
EXISTS. The second can never do anything: when the first succeeds no view
of that name exists, and when the destination is a view the first already
fails. Seed loads now issue only the table drop, with the same error for a
view destination as before.
Each seed also set up the fingerprint table before writing its row. Seeds
in a build or a seed run now share the run's fingerprint writes, as models
do: the first writer sets the table up, concurrent writers wait for it, and
later writers insert directly and set the table up only if the insert
fails. Every seed still records its row. A 93-seed run issues 442
statements instead of 627.
0 commit comments