liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r454959287
########## File path: cpp/src/arrow/compute/kernels/scalar_cast_test.cc ########## @@ -169,7 +169,6 @@ class TestCast : public TestBase { ASSERT_EQ(in_values.size(), out_values.size()); std::shared_ptr<Array> input, expected; if (is_valid.size() > 0) { - ASSERT_EQ(is_valid.size(), out_values.size()); Review comment: I happen to find this check duplicate. Admittedly, this is not related to the current issue. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org