Skip to content

Nullable Numerics fail in validate-data #571

@vjeeva

Description

@vjeeva

Problem:

  • Tables with nullable numeric data types are breaking the validate-data function.
  • If a row has a NaN in Postgres, AsyncPG reads that as Python Object Decimal('NaN').
  • Python also thinks that Decimal('NaN') == Decimal('NaN') -> False.

Solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions