Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java]bugfix: RangeEqualsVisitor compare BitVector false when compared vectors have different begin index. #35528

Closed
wenxlan opened this issue May 10, 2023 · 0 comments · Fixed by #35525

Comments

@wenxlan
Copy link
Contributor

wenxlan commented May 10, 2023

Describe the bug, including details regarding any error messages, version, and platform.

In origin code, when compared vectors have different begin index, it will compare vectors value with same index, which is error logic. this pr is to fix it.

Component(s)

Java

@wenxlan wenxlan changed the title bugfix: RangeEqualsVisitor compare BitVector false when compared vectors have different begin index. [Java]bugfix: RangeEqualsVisitor compare BitVector false when compared vectors have different begin index. May 10, 2023
lidavidm pushed a commit that referenced this issue May 12, 2023
…rent begin index (#35525)

### Rationale for this change

bugfix: RangeEqualsVisitor compare BitVector false when compared vectors have different begin index. 

In origin code, when compared vectors have different begin index, it will compare vectors value with same index, which is error logic. this pr is to fix it.

### What changes are included in this PR?

only changes RangeEqualsVisitor.compareBaseFixedWidthVectors method, and add test

### Are these changes tested?
yes.

### Are there any user-facing changes?
no.

* Closes: #35528

Authored-by: wenxianglan.233 <wenxianglan.233@bytedance.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
@lidavidm lidavidm added this to the 13.0.0 milestone May 12, 2023
ArgusLi pushed a commit to Bit-Quill/arrow that referenced this issue May 15, 2023
… different begin index (apache#35525)

### Rationale for this change

bugfix: RangeEqualsVisitor compare BitVector false when compared vectors have different begin index. 

In origin code, when compared vectors have different begin index, it will compare vectors value with same index, which is error logic. this pr is to fix it.

### What changes are included in this PR?

only changes RangeEqualsVisitor.compareBaseFixedWidthVectors method, and add test

### Are these changes tested?
yes.

### Are there any user-facing changes?
no.

* Closes: apache#35528

Authored-by: wenxianglan.233 <wenxianglan.233@bytedance.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
rtpsw pushed a commit to rtpsw/arrow that referenced this issue May 16, 2023
… different begin index (apache#35525)

### Rationale for this change

bugfix: RangeEqualsVisitor compare BitVector false when compared vectors have different begin index. 

In origin code, when compared vectors have different begin index, it will compare vectors value with same index, which is error logic. this pr is to fix it.

### What changes are included in this PR?

only changes RangeEqualsVisitor.compareBaseFixedWidthVectors method, and add test

### Are these changes tested?
yes.

### Are there any user-facing changes?
no.

* Closes: apache#35528

Authored-by: wenxianglan.233 <wenxianglan.233@bytedance.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants