apache/seatunnel

[Feature][MySQL] Regarding the data processing of bit(1), it is hoped that a configuration item will be added to determine whether to convert it to a boolean value or an int.

Open

#9.875 geöffnet am 18. Sept. 2025

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Java (1.432 Forks)batch import
help wanted

Repository-Metriken

Stars
 (6.897 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 13T 21h) (143 gemergte PRs in 30 T)

Beschreibung

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

Currently, in practical scenarios, there are cases where it is necessary to convert bit(1) data in MySQL to int. However, in the latest version 2.3.12, this data type can only be converted to boolean by default, which causes errors when writing data to the target database. Therefore, it is necessary to add a configuration item to determine whether to convert the data to int or boolean.

Now I have modified the source code, and only adjusted it to int to meet my own needs.

Usage Scenario

To address various data processing scenarios

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Contributor Guide