alibaba / alibaba/DataX

从hive(hdfs)导入数据到另一个hive(hdfs),出现莫名其妙的错乱和字段变多。

Open
#872 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

原本的hive存储是orc格式,导入另一个hive也是orc格式,但是比较扯的是,发生错位就算了,还多了些字段,简直不知道怎么办
原始数据如图
企业微信截图_71fc943b-ec38-4cde-b4c7-c1d9806dffd4
结果切出来的数据
企业微信截图_a5b92d97-c112-44dc-acec-6f8963d46906
完全懵了,前面多出来的字段,完全不知道是怎么来的
值得注意的是的是里面有些字段是字符串类型的json数据。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is named. Start by documenting the source and target Hive/HDFS tables, confirming both use ORC, and checking how fields containing JSON strings are transferred; compare the resulting columns with the screenshots. Done means the transfer preserves field order and does not introduce extra fields, with a reproducible test case.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.