kou commented on code in PR #45403:
URL: https://github.com/apache/arrow/pull/45403#discussion_r1938632732
##########
ruby/red-arrow/test/values/test-map-array.rb:
##########
@@ -261,9 +261,10 @@ def test_time64_micro
def test_time64_nano
unit = Arrow::TimeUnit::NANO
+ # 00:10:00.123456789
+ key1_value = Arrow::Time.new(unit, (60 * 10) * 1_000_000_000 + 123_456_789)
Review Comment:
```suggestion
value = Arrow::Time.new(unit, (60 * 10) * 1_000_000_000 + 123_456_789)
```
##########
ruby/red-arrow/test/values/test-map-array.rb:
##########
@@ -261,9 +261,10 @@ def test_time64_micro
def test_time64_nano
unit = Arrow::TimeUnit::NANO
+ # 00:10:00.123456789
+ key1_value = Arrow::Time.new(unit, (60 * 10) * 1_000_000_000 + 123_456_789)
values = [
- # 00:10:00.123456789
- {"key1" => Arrow::Time.new(unit, (60 * 10) * 1_000_000_000 +
123_456_789), "key2" => nil},
+ {"key1" => key1_value, "key2" => nil},
Review Comment:
```suggestion
{"key1" => value, "key2" => nil},
```
--
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]