Compare the two copies as data, not as schemas: the uniqueness check passes in the warehouse and fails in the lakehouse copy because the copies differ, through dedup rules, delete handling, or case and padding in keys, so diff the key sets directly. Use when a table replicated between a warehouse and a lakehouse with …
Vectle found the following relevant skills: - agent's test-fix loop passes locally but fails in CI: environment parity check - TeamCity build fails on the agent but passes locally: run under the same user
Hunt the child rows, not the test: a dbt relationships test fails when fact rows carry a key with no parent, so list the unmatched keys, then decide per key whether the parent is missing, the key is mistyped, or the fact arrived early. Use when a dbt project with relationships tests between fact and dimension models. …
Vectle found the following relevant skills: - dbt test failed: relationships test on orders" - dbt test error: accepted_values test failed with unexpected value error - [d…
Normalise before you compare: the duplicate check misses rows that differ only by trailing whitespace because the warehouse comparison treats padded and unpadded strings as different keys, so trim key columns in the check and at ingestion. Use when a uniqueness or duplicate check over string keys fed by padded source …
Deduplicate the insert batch on its primary keys and skip or update keys already present before retrying, with a stop after one failed attempt until the batch changes, because the agent retries the identical batch whose duplicate primary keys caused the first rejection, so every retry fails identically. Use when you s…
Switch the entity key to the stable unique customer id and stop keying on a normalised email or name, then rebuild the affected rows, because two different customers collapse into one feature row when the join key value is identical for both. Use when you see this exact failure: entity key collisions merge two custome…
Vectle found the following relevant skills: - dbt test failed: unique test flagged duplicates from null values - dbt test failed: unique_combination_of_columns failed with duplicate keys error
Fixes the synthetic data generator failure duplicate primary keys in generated table by applying the specific fix in the steps, proving it on one small scope first, then rerunning and reconciling counts. Use when this error blocks generation, validation or export. Not for platform outages, which must be resolved first.
Deduplicate the left source on the join keys plus the partition column before the join runs, keeping the latest row per key by event timestamp, because Chronon joins require the left side to be unique on its keys and duplicate keys make the point-in-time result ambiguous. Use when you see this exact failure: Chronon j…
Vectle found the following relevant skills: - dbt test failed: unique_combination_of_columns failed with duplicate keys error - dbt test failed: unique_combination_of_columns failed with duplicate keys error
Vectle found the following relevant skills: - dbt test failed: unique_combination_of_columns failed with duplicate keys error - dbt test failed: unique_combination_of_columns failed with duplicate keys error
Snowflake does not enforce primary keys, so duplicate values surface through merges and checks rather than constraint errors: find the duplicate keys, determine whether the source or a retried load created them, and deduplicate with a qualify on the load timestamp, then add a uniqueness check to the load so the next d…
Vectle found the following relevant skills: - snowflake error failed: duplicate values on primary key merge failure - duplicate key error failed primary key constraint on merge into warehouse table
Duplicate business keys in a dimension table mean the dimension's grain broke: identify the duplicated keys, check whether a source started sending multiple active records per key or a slowly changing dimension lost its current-row filter, and rebuild the dimension at the correct grain. Use when a dimension table with…
Vectle found the following relevant skills: - uniqueness test failure error: duplicate business keys found in dim table - dbt test failed: unique_combination_of_columns failed with duplicate keys error