apache / paimon

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.
https://paimon.apache.org/
Apache License 2.0
2.39k stars 942 forks source link

[Bug] MySqlSyncTableAction should support case ignore mode #890

Closed JingsongLi closed 1 year ago

JingsongLi commented 1 year ago

Search before asking

Paimon version

0.4

Compute Engine

flink

Minimal reproduce step

Fields with upperCase sync to HiveCatalog. There is an exception, see https://github.com/apache/incubator-paimon/pull/413

What doesn't meet your expectations?

Provide a mode to convert upperCase to lowerCase automatic.

Anything else?

No response

Are you willing to submit a PR?

liugddx commented 1 year ago

I don't know if I understand it right, shouldn't we throw an exception but automatically convert to lowercase?