data-diff
data-diff copied to clipboard
Support Integer value in String Column Type primary key
Hi,
I encounter that every time I pass string column type as a primary key to TableSegment, it will throws this error
NotImplementedError: Cannot use column of type Text() as a key
However, the values inside the column is actually Integer. Can data-diff support this kind of issue ?
Thanks !
I think of a solution like casting the column type to integer when querying the table, but wanna knows other thought about this. Happy to help create a PR if needed :)
Can you please try the latest master
version? I think it has a fix for this issue.
You can install it with
pip install git+https://github.com/datafold/data-diff.git