Skip to content

[BUG] Getting Uncaught Exception: unknown mysql type "" when mysql column has default value with ',' character #219

@jayakarthik-jk

Description

@jayakarthik-jk

Bug Description

Exception: unknown mysql type ""

Steps to Reproduce

  1. create a table in mysql with string column and default value that has ',' character in it

Expected Behavior

Expected to parse the column skipping values inside single quotes

Actual Behavior

Got Unhandled Exception: unknown mysql type ""

Environment

  • mysql_ch_replicator version: 0.1.5
  • Operating System: Mac
  • Python version: 3.14.0

Additional Information

after debugging, I found that split_high_level function inside mysql_ch_replicator/converter.py does not skip delimiter within quotes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions