alibaba / alibaba/DataX

从Oracle date 到 hdfs orc 文件 timestamp 问题

Open
#1,556 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

代码com.alibaba.datax.plugin.writer.hdfswriter.HdfsHelper#orcFileStartWrite 方法可以写进hdfs , 但是hive 查询查不出,报错orc does not support type conversion from file type struct(9)>

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at com.alibaba.datax.plugin.writer.hdfswriter.HdfsHelper#orcFileStartWrite and trace how an Oracle DATE is written to the HDFS ORC file. Reproduce the Hive query failure involving struct(9), then determine whether the written ORC type matches Hive's expected timestamp type; done means Hive can query the generated file successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.