kou commented on code in PR #47204:
URL: https://github.com/apache/arrow/pull/47204#discussion_r2312111963
##########
cpp/src/arrow/record_batch_test.cc:
##########
@@ -62,7 +63,49 @@ using util::Float16;
class TestRecordBatch : public ::testing::Test {};
TEST_F(TestRecordBatch, Equals) {
- const int length = 10;
+ int length = 10;
Review Comment:
The section also says:
> Using const on local variables is neither encouraged nor discouraged.
I think that we should not remove `const` here based of the style guide.
--
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]