-
Flink CDC MySQL->Paimon ,表中的字段是大写的,但是Paimon Hive catalog存在大小写敏感检查,会报错,如何处理?
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Currently there's no other way than writing Option A: Add a route configuration indicating if table names should be converted to lowercase. If Paimon connector is the only one that requires letter case conversion, Option B might be more appropriate. WDYT? @beryllw |
Beta Was this translation helpful? Give feedback.
-
The problem is that the Paimon table field requires letter case conversion, which I solved by adding a transform projection. Case sensitivity issues are not limited to Paimon but extend to many other sources(hive) as well. Should we add a transform configuration to conveniently convert table fields to lower case? @yuxiqian |
Beta Was this translation helpful? Give feedback.
-
I've found the solution.
So, what we need to do is to update paimon dependency to 0.9.0 in FlinkCDC 3.3 |
Beta Was this translation helpful? Give feedback.
通过增加transform解决。(如果同时需要表路由,可以增加route,transform和route可以同时生效)
https://nightlies.apache.org/flink/flink-cdc-docs-release-3.2/docs/core-concept/transform/