kou commented on code in PR #45403:
URL: https://github.com/apache/arrow/pull/45403#discussion_r1938348398
##########
c_glib/test/test-record-batch.rb:
##########
@@ -253,7 +254,10 @@ def test_valid
def test_invalid
message = "[record-batch][validate-full]: Invalid: " +
"In column 1: Invalid: Invalid UTF8 sequence at string index 0"
- record_batch = Arrow::RecordBatch.new(@schema, @n_rows, [@uint8_value,
@invalid_name_value])
+ record_batch = Arrow::RecordBatch.new(@schema, @n_rows,
+ [@uint8_value,
+ @invalid_name_value]
+ )
Review Comment:
Let's create a variable:
```suggestion
columns = [@uint8_value, @invalid_name_value]
record_batch = Arrow::RecordBatch.new(@schema, @n_rows, columns)
```
--
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]