Skip to content

SCD2 column check and timestamp check malformed output #1176

@czasoprzestrzenny

Description

@czasoprzestrzenny

This request is being created on request sent by [email protected].
A same ticket has been created in DBTCLOUD ZENDESK number 104180

Here is a one of example which generates a malformed output. Can you forward that email to responsible team and help us with it.

Snapshot conf:

  • name: snapshot_columns_check
    relation: ref('seed_distribution_centers')
    description: example_snapshot_with_column_check
    config:
    strategy: check
    unique_key: id
    check_cols:
    - name
    hard_deletes: new_record

First run:

Seed:
id,name,latitude,longitude
1,London,49.7392,-174.9903
4,Cluj,49.7392,-174.9903
5,Cracow,49.7392,-174.9903

Snapshot output ( correct one )

Image

Second run:

Seed:
id,name,latitude,longitude
4,ClujNapoca,49.7392,-174.9903
5,Kraków,49.7392,-174.9903

Snapshot output ( wrong output for London record)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions