Skip to content

[BUG] expect_select_column_values_to_be_unique_within_record seems not working #33

@ashwathtk

Description

@ashwathtk

Is this a new bug in dbt-expectations?

  • [ X] I believe this is a new bug in dbt-expectations
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

looking at sql how the row number is created is just unique per row. later it is used to count against column count passed. it never give duplicate rows

Expected Behavior

Based on multiple column it must give duplicate counts

Steps To Reproduce

Take two simple columns with duplicate values and test this it results 2 for the distinct count

Relevant log output

Environment

- OS:
- Python:
- dbt:
- dbt-expectations:

Which database adapter are you using with dbt?

Note: dbt-expectations currently does not support database adapters other than the ones listed below.

  • Postgres
  • Snowflake
  • BigQuery

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions