Skip to content

Bigint not mapped to Int64 #28

@giriputraa

Description

@giriputraa

Source DB:
Screenshot 2024-11-20 at 10 18 42 AM

Clickhouse DB:
Screenshot 2024-11-20 at 10 19 08 AM

I have checked the code and saw you have added support for bigint to be mapped to Int64, but for some reason it is mapped to Int32 instead. I'm using version 0.0.32. Thanks!

Edit:
converter.py line 126
if 'integer' in mysql_type or 'int(' in mysql_type: if is_unsigned: return 'UInt32' return 'Int32'
Might this be the culprit? "bigint(20)" does contain "int(" in it causing the field to be mapped to Int32.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions