Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

FloatSplitter has a problem with the final splits.add #79

Open
wants to merge 3 commits into
base: branch-1.4.7
Choose a base branch
from

Conversation

chenqixu
Copy link

FloatSplitter has a problem with the final splits.add.
Example:
maxVal = 133.333
numSplits = 2
if use curUpper,It's going to be like this.
[float_code >= 1.111 AND float_code < 67.22200000000001, float_code >= 133.33300000000003 AND float_code <= 133.333]
So curLower is needed.
[float_code >= 1.111 AND float_code < 67.22200000000001, float_code >= 67.22200000000001 AND float_code <= 133.333]

maxVal = 133.333
numSplits = 2
if use curUpper,It's going to be like this.
[float_code >= 1.111 AND float_code < 67.22200000000001, float_code >= 133.33300000000003 AND float_code <= 133.333]
So curLower is needed.
[float_code >= 1.111 AND float_code < 67.22200000000001, float_code >= 67.22200000000001 AND float_code <= 133.333]
2、增加测试用例
3、sqoop启动脚本支持切换hadoop集群
@chenqixu chenqixu closed this Apr 23, 2019
@chenqixu chenqixu reopened this Apr 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant