alibaba / alibaba/DataX

HdfsReader value属性无效,只能用index

Open
#1,230 1 comment 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

![image](https://user-images.githubusercontent.com/53845830/143438145-7c849538-b7e5-40cd-9836-0d9465ad46b8.png)
文档里写了index value 2选1,但代码里只判断了index
![image](https://user-images.githubusercontent.com/53845830/143438309-c23ac9fa-3c7b-4d81-b6a0-de7f8d69eb91.png)
因此导致maxindex永远<0 以致后续代码直接报错失败.
![image](https://user-images.githubusercontent.com/53845830/143438629-93cadbf9-a8db-455e-b689-7cedac29c33d.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the HdfsReader entry point and compare the documented index/value alternatives with the code path that calculates maxindex. Reproduce the failure using value without index, then verify that both documented options avoid the subsequent error and add or update a focused regression test if the repository provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.