[hostfix][hive] add HIVe table check and correct function by conghe2402 · Pull Request #1425 · DTStack/chunjun

Conversation

@conghe2402

Purpose of this pull request

add function to try to transform a valid format of hive table name from source table name that is not compatible with hive specification.

conghe2402

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

场景:
从源库同步,由于源库比如oracle 这种 表名规范是可以带其他特殊字符的,但是hive 并不能支持,所以会导致同步失败。
例如:oracle源表名: C##8889df.ORDDCM_ANON_AT ,任务启动后,写数据时会创建 C##8889df.ORDDCM_ANON_AT 表,提交到hive会导致 解析失败。

ll076110 pushed a commit that referenced this pull request

Mar 3, 2023
(cherry picked from commit 1c9c789)

2 participants

@conghe2402 @FlechazoW