chunjun icon indicating copy to clipboard operation
chunjun copied to clipboard

从ORACLE日志归档模式到HIVE2时,字段类型有问题

Open sunrfun opened this issue 2 years ago • 1 comments

Search before asking

  • [ ] I had searched in the issues and found no similar question.

  • [ ] I had googled my question but i didn't get any help.

  • [ ] I had read the documentation: ChunJun doc but it didn't help me.

Description

22a721d961550623bfb5e26aa0aa4ba这是oracle的数据库,V2字段为NUMBER类型 这是配置文件 8e4d355e2067228efbfdcd4e4d645d5,在配置文件中V2字段为LONG类型 这儿在断点进来的时候V2却为string类型了,问一下,这个数据类型是怎么生成的,相关的代码在哪里? ff5a945e36bb0e19956927531420499

Code of Conduct

sunrfun avatar May 26 '23 06:05 sunrfun

因为hive插件会自动建表,建表语句字段全是string。

ll076110 avatar May 30 '23 01:05 ll076110