-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
GH-34968: [C++] Add Equal Options to RecordBatch #34970
GH-34968: [C++] Add Equal Options to RecordBatch #34970
Conversation
|
Could you fix a CI failure? https://github.com/apache/arrow/actions/runs/4639277857/jobs/8209947441?pr=34970#step:6:3002
|
Sure, trying to fix it and add test now |
@kou I've fixed all comments. But |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor nits. I like this change and it looks good. Thanks!
The Appveyor failure is unrelated.
5fb2b9d
to
c38db63
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick turnaround
Benchmark runs are scheduled for baseline = 1c06854 and contender = 1aedf52. 1aedf52 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
### Rationale for this change Currently, directly comparing Array supports EqualOptions, which support nan comparing mode and others. However, array doesn't support passing argument like that. So, it can only use default EqualOptions ### What changes are included in this PR? Add EqualOptions ### Are these changes tested? currently not ### Are there any user-facing changes? User can call EqualOptions in RecordBatch * Closes: apache#34968 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Weston Pace <weston.pace@gmail.com>
### Rationale for this change Currently, directly comparing Array supports EqualOptions, which support nan comparing mode and others. However, array doesn't support passing argument like that. So, it can only use default EqualOptions ### What changes are included in this PR? Add EqualOptions ### Are these changes tested? currently not ### Are there any user-facing changes? User can call EqualOptions in RecordBatch * Closes: apache#34968 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Weston Pace <weston.pace@gmail.com>
### Rationale for this change Currently, directly comparing Array supports EqualOptions, which support nan comparing mode and others. However, array doesn't support passing argument like that. So, it can only use default EqualOptions ### What changes are included in this PR? Add EqualOptions ### Are these changes tested? currently not ### Are there any user-facing changes? User can call EqualOptions in RecordBatch * Closes: apache#34968 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Weston Pace <weston.pace@gmail.com>
Rationale for this change
Currently, directly comparing Array supports EqualOptions, which support nan comparing mode and others. However, array doesn't support passing argument like that. So, it can only use default EqualOptions
What changes are included in this PR?
Add EqualOptions
Are these changes tested?
currently not
Are there any user-facing changes?
User can call EqualOptions in RecordBatch
Equals
andApproxEquals
#34968