rtpsw commented on code in PR #14352:
URL: https://github.com/apache/arrow/pull/14352#discussion_r1021510186
##########
cpp/src/arrow/compare.cc:
##########
@@ -305,6 +305,11 @@ class RangeDataEqualsImpl {
Status Visit(const StructType& type) {
const int32_t num_fields = type.num_fields();
+ if (left_.child_data.size() != static_cast<size_t>(num_fields) ||
+ right_.child_data.size() != static_cast<size_t>(num_fields)) {
+ result_ = false;
+ return Status::OK();
+ }
Review Comment:
I believe we discussed this in https://github.com/apache/arrow/pull/14385,
which was closed, and this code didn't make it into the master branch. I'll
make sure we don't need it in this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]