Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.
This repository was archived by the owner on May 17, 2024. It is now read-only.

Support for postgres varchar of varying length as key #234

@k-walton

Description

@k-walton

Hey there! We are looking to use data-diff for verifying some of our data pipelines. While testing it out, we noticed that our postgres varchar fields can not be used as keys. The error for that is below.

WARNING:database:Mixed Alphanum lengths detected in column *********, disabling Alphanum support.
NotImplementedError: Cannot use column of type Text() as a key

Here are some examples of the keys being sampled

x99999m 
x9990037
x99_99943z1

Is it possible to add support for varchars with variable length as keys, if so do you have an estimate for the difficulty of adding it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions