red-arrow 2.0.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/arrow/arrow.cpp +3 -0
- data/ext/arrow/converters.hpp +15 -2
- data/ext/arrow/memory-view.cpp +311 -0
- data/ext/arrow/memory-view.hpp +26 -0
- data/ext/arrow/raw-records.cpp +1 -0
- data/ext/arrow/values.cpp +1 -0
- data/lib/arrow/array-builder.rb +11 -6
- data/lib/arrow/array.rb +130 -0
- data/lib/arrow/bigdecimal-extension.rb +5 -1
- data/lib/arrow/buffer.rb +10 -6
- data/lib/arrow/constructor-arguments-gc-guardable.rb +25 -0
- data/lib/arrow/data-type.rb +14 -5
- data/lib/arrow/datum.rb +98 -0
- data/lib/arrow/decimal128-array-builder.rb +21 -25
- data/lib/arrow/decimal128-data-type.rb +2 -0
- data/lib/arrow/decimal128.rb +18 -0
- data/lib/arrow/decimal256-array-builder.rb +61 -0
- data/lib/arrow/decimal256-array.rb +25 -0
- data/lib/arrow/decimal256-data-type.rb +73 -0
- data/lib/arrow/decimal256.rb +60 -0
- data/lib/arrow/dense-union-data-type.rb +2 -2
- data/lib/arrow/dictionary-data-type.rb +2 -2
- data/lib/arrow/equal-options.rb +38 -0
- data/lib/arrow/fixed-size-binary-array-builder.rb +38 -0
- data/lib/arrow/fixed-size-binary-array.rb +26 -0
- data/lib/arrow/loader.rb +46 -0
- data/lib/arrow/scalar.rb +32 -0
- data/lib/arrow/sort-key.rb +193 -0
- data/lib/arrow/sort-options.rb +109 -0
- data/lib/arrow/sparse-union-data-type.rb +2 -2
- data/lib/arrow/table.rb +2 -2
- data/lib/arrow/time32-data-type.rb +2 -2
- data/lib/arrow/time64-data-type.rb +2 -2
- data/lib/arrow/timestamp-data-type.rb +2 -2
- data/lib/arrow/version.rb +1 -1
- data/red-arrow.gemspec +3 -1
- data/test/helper.rb +1 -0
- data/test/raw-records/test-basic-arrays.rb +17 -0
- data/test/raw-records/test-dense-union-array.rb +14 -0
- data/test/raw-records/test-list-array.rb +20 -0
- data/test/raw-records/test-sparse-union-array.rb +14 -0
- data/test/raw-records/test-struct-array.rb +15 -0
- data/test/test-array.rb +156 -2
- data/test/test-bigdecimal.rb +20 -3
- data/test/test-boolean-scalar.rb +26 -0
- data/test/test-decimal128-array-builder.rb +18 -1
- data/test/test-decimal128-data-type.rb +2 -2
- data/test/test-decimal128.rb +38 -0
- data/test/test-decimal256-array-builder.rb +112 -0
- data/test/test-decimal256-array.rb +38 -0
- data/test/test-decimal256-data-type.rb +31 -0
- data/test/test-decimal256.rb +102 -0
- data/test/test-fixed-size-binary-array-builder.rb +92 -0
- data/test/test-fixed-size-binary-array.rb +36 -0
- data/test/test-float-scalar.rb +46 -0
- data/test/test-function.rb +176 -0
- data/test/test-memory-view.rb +434 -0
- data/test/test-orc.rb +19 -23
- data/test/test-sort-indices.rb +40 -0
- data/test/test-sort-key.rb +81 -0
- data/test/test-sort-options.rb +58 -0
- data/test/test-struct-array-builder.rb +8 -8
- data/test/test-struct-array.rb +2 -2
- data/test/values/test-basic-arrays.rb +11 -0
- data/test/values/test-dense-union-array.rb +14 -0
- data/test/values/test-list-array.rb +18 -0
- data/test/values/test-sparse-union-array.rb +14 -0
- data/test/values/test-struct-array.rb +15 -0
- metadata +127 -59
data/test/test-orc.rb
CHANGED
@@ -118,39 +118,35 @@ class ORCTest < Test::Unit::TestCase
|
|
118
118
|
]
|
119
119
|
],
|
120
120
|
[
|
121
|
-
"map:
|
122
|
-
"struct<key: string, value: " +
|
123
|
-
"struct<int1: int32, string1: string>>>",
|
121
|
+
"map: map<string, struct<int1: int32, string1: string>>",
|
124
122
|
[
|
125
123
|
<<-MAP.chomp
|
126
124
|
[
|
125
|
+
keys:
|
126
|
+
[]
|
127
|
+
values:
|
127
128
|
-- is_valid: all not null
|
128
|
-
-- child 0 type:
|
129
|
+
-- child 0 type: int32
|
129
130
|
[]
|
130
|
-
-- child 1 type:
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
131
|
+
-- child 1 type: string
|
132
|
+
[],
|
133
|
+
keys:
|
134
|
+
[
|
135
|
+
"chani",
|
136
|
+
"mauddib"
|
137
|
+
]
|
138
|
+
values:
|
136
139
|
-- is_valid: all not null
|
137
|
-
-- child 0 type:
|
140
|
+
-- child 0 type: int32
|
141
|
+
[
|
142
|
+
5,
|
143
|
+
1
|
144
|
+
]
|
145
|
+
-- child 1 type: string
|
138
146
|
[
|
139
147
|
"chani",
|
140
148
|
"mauddib"
|
141
149
|
]
|
142
|
-
-- child 1 type: struct<int1: int32, string1: string>
|
143
|
-
-- is_valid: all not null
|
144
|
-
-- child 0 type: int32
|
145
|
-
[
|
146
|
-
5,
|
147
|
-
1
|
148
|
-
]
|
149
|
-
-- child 1 type: string
|
150
|
-
[
|
151
|
-
"chani",
|
152
|
-
"mauddib"
|
153
|
-
]
|
154
150
|
]
|
155
151
|
MAP
|
156
152
|
],
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
3
|
+
# distributed with this work for additional information
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance
|
7
|
+
# with the License. You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
17
|
+
|
18
|
+
class SortIndicesTest < Test::Unit::TestCase
|
19
|
+
def setup
|
20
|
+
@table = Arrow::Table.new(number1: [16, -1, 2, 32, -4, -4, -8],
|
21
|
+
number2: [32, 2, -16, 8, 1, 4, 1])
|
22
|
+
end
|
23
|
+
|
24
|
+
sub_test_case("Table") do
|
25
|
+
test("Symbol") do
|
26
|
+
assert_equal(Arrow::UInt64Array.new([6, 4, 5, 1, 2, 0, 3]),
|
27
|
+
@table.sort_indices(:number1))
|
28
|
+
end
|
29
|
+
|
30
|
+
test("-String") do
|
31
|
+
assert_equal(Arrow::UInt64Array.new([3, 0, 2, 1, 4, 5, 6]),
|
32
|
+
@table.sort_indices("-number1"))
|
33
|
+
end
|
34
|
+
|
35
|
+
test("Symbol, -String") do
|
36
|
+
assert_equal(Arrow::UInt64Array.new([6, 5, 4, 1, 2, 0, 3]),
|
37
|
+
@table.sort_indices([:number1, "-number2"]))
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
3
|
+
# distributed with this work for additional information
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance
|
7
|
+
# with the License. You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
17
|
+
|
18
|
+
class SortKeyTest < Test::Unit::TestCase
|
19
|
+
sub_test_case(".resolve") do
|
20
|
+
test("SortKey") do
|
21
|
+
assert_equal(Arrow::SortKey.new("-count"),
|
22
|
+
Arrow::SortKey.resolve(Arrow::SortKey.new("-count")))
|
23
|
+
end
|
24
|
+
|
25
|
+
test("-String") do
|
26
|
+
assert_equal(Arrow::SortKey.new("-count"),
|
27
|
+
Arrow::SortKey.resolve("-count"))
|
28
|
+
end
|
29
|
+
|
30
|
+
test("Symbol, Symbol") do
|
31
|
+
assert_equal(Arrow::SortKey.new("-count"),
|
32
|
+
Arrow::SortKey.resolve(:count, :desc))
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
sub_test_case("#initialize") do
|
37
|
+
test("String") do
|
38
|
+
assert_equal("+count",
|
39
|
+
Arrow::SortKey.new("count").to_s)
|
40
|
+
end
|
41
|
+
|
42
|
+
test("+String") do
|
43
|
+
assert_equal("+count",
|
44
|
+
Arrow::SortKey.new("+count").to_s)
|
45
|
+
end
|
46
|
+
|
47
|
+
test("-String") do
|
48
|
+
assert_equal("-count",
|
49
|
+
Arrow::SortKey.new("-count").to_s)
|
50
|
+
end
|
51
|
+
|
52
|
+
test("Symbol") do
|
53
|
+
assert_equal("+-count",
|
54
|
+
Arrow::SortKey.new(:"-count").to_s)
|
55
|
+
end
|
56
|
+
|
57
|
+
test("String, Symbol") do
|
58
|
+
assert_equal("--count",
|
59
|
+
Arrow::SortKey.new("-count", :desc).to_s)
|
60
|
+
end
|
61
|
+
|
62
|
+
test("String, String") do
|
63
|
+
assert_equal("--count",
|
64
|
+
Arrow::SortKey.new("-count", "desc").to_s)
|
65
|
+
end
|
66
|
+
|
67
|
+
test("String, SortOrder") do
|
68
|
+
assert_equal("--count",
|
69
|
+
Arrow::SortKey.new("-count",
|
70
|
+
Arrow::SortOrder::DESCENDING).to_s)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
sub_test_case("#to_s") do
|
75
|
+
test("recreatable") do
|
76
|
+
key = Arrow::SortKey.new("-count", :desc)
|
77
|
+
assert_equal(key,
|
78
|
+
Arrow::SortKey.new(key.to_s))
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
3
|
+
# distributed with this work for additional information
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance
|
7
|
+
# with the License. You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
17
|
+
|
18
|
+
class SortOptionsTest < Test::Unit::TestCase
|
19
|
+
sub_test_case("#initialize") do
|
20
|
+
test("none") do
|
21
|
+
options = Arrow::SortOptions.new
|
22
|
+
assert_equal([],
|
23
|
+
options.sort_keys.collect(&:to_s))
|
24
|
+
end
|
25
|
+
|
26
|
+
test("-String, Symbol") do
|
27
|
+
options = Arrow::SortOptions.new("-count", :age)
|
28
|
+
assert_equal(["-count", "+age"],
|
29
|
+
options.sort_keys.collect(&:to_s))
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
sub_test_case("instance methods") do
|
34
|
+
setup do
|
35
|
+
@options = Arrow::SortOptions.new
|
36
|
+
end
|
37
|
+
|
38
|
+
sub_test_case("#add_sort_key") do
|
39
|
+
test("-String") do
|
40
|
+
@options.add_sort_key("-count")
|
41
|
+
assert_equal(["-count"],
|
42
|
+
@options.sort_keys.collect(&:to_s))
|
43
|
+
end
|
44
|
+
|
45
|
+
test("-String, Symbol") do
|
46
|
+
@options.add_sort_key("-count", :desc)
|
47
|
+
assert_equal(["--count"],
|
48
|
+
@options.sort_keys.collect(&:to_s))
|
49
|
+
end
|
50
|
+
|
51
|
+
test("SortKey") do
|
52
|
+
@options.add_sort_key(Arrow::SortKey.new("-count"))
|
53
|
+
assert_equal(["-count"],
|
54
|
+
@options.sort_keys.collect(&:to_s))
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -27,8 +27,8 @@ class StructArrayBuilderTest < Test::Unit::TestCase
|
|
27
27
|
@builder.append_value(nil)
|
28
28
|
array = @builder.finish
|
29
29
|
assert_equal([
|
30
|
-
[
|
31
|
-
[
|
30
|
+
[false],
|
31
|
+
[0],
|
32
32
|
],
|
33
33
|
[
|
34
34
|
array.find_field(0).to_a,
|
@@ -87,8 +87,8 @@ class StructArrayBuilderTest < Test::Unit::TestCase
|
|
87
87
|
@builder.append_values([nil])
|
88
88
|
array = @builder.finish
|
89
89
|
assert_equal([
|
90
|
-
[
|
91
|
-
[
|
90
|
+
[false],
|
91
|
+
[0],
|
92
92
|
],
|
93
93
|
[
|
94
94
|
array.find_field(0).to_a,
|
@@ -130,8 +130,8 @@ class StructArrayBuilderTest < Test::Unit::TestCase
|
|
130
130
|
])
|
131
131
|
array = @builder.finish
|
132
132
|
assert_equal([
|
133
|
-
[
|
134
|
-
[
|
133
|
+
[false, true, false],
|
134
|
+
[0, 1, 2],
|
135
135
|
],
|
136
136
|
[
|
137
137
|
array.find_field(0).to_a,
|
@@ -152,8 +152,8 @@ class StructArrayBuilderTest < Test::Unit::TestCase
|
|
152
152
|
])
|
153
153
|
array = @builder.finish
|
154
154
|
assert_equal([
|
155
|
-
[true,
|
156
|
-
[1,
|
155
|
+
[true, false, true],
|
156
|
+
[1, 0, 3],
|
157
157
|
],
|
158
158
|
[
|
159
159
|
array.find_field(0).to_a,
|
data/test/test-struct-array.rb
CHANGED
@@ -265,6 +265,17 @@ module ValuesBasicArraysTests
|
|
265
265
|
target = build(Arrow::Decimal128Array.new(data_type, values))
|
266
266
|
assert_equal(values, target.values)
|
267
267
|
end
|
268
|
+
|
269
|
+
def test_decimal256
|
270
|
+
values = [
|
271
|
+
BigDecimal("92.92"),
|
272
|
+
nil,
|
273
|
+
BigDecimal("29.29"),
|
274
|
+
]
|
275
|
+
data_type = Arrow::Decimal256DataType.new(38, 2)
|
276
|
+
target = build(Arrow::Decimal256Array.new(data_type, values))
|
277
|
+
assert_equal(values, target.values)
|
278
|
+
end
|
268
279
|
end
|
269
280
|
|
270
281
|
class ValuesArrayBasicArraysTest < Test::Unit::TestCase
|
@@ -333,6 +333,20 @@ module ValuesDenseUnionArrayTests
|
|
333
333
|
assert_equal(values, target.values)
|
334
334
|
end
|
335
335
|
|
336
|
+
def test_decimal256
|
337
|
+
values = [
|
338
|
+
{"0" => BigDecimal("92.92")},
|
339
|
+
{"1" => nil},
|
340
|
+
]
|
341
|
+
target = build({
|
342
|
+
type: :decimal256,
|
343
|
+
precision: 38,
|
344
|
+
scale: 2,
|
345
|
+
},
|
346
|
+
values)
|
347
|
+
assert_equal(values, target.values)
|
348
|
+
end
|
349
|
+
|
336
350
|
def test_list
|
337
351
|
values = [
|
338
352
|
{"0" => [true, nil, false]},
|
@@ -354,6 +354,24 @@ module ValuesListArrayTests
|
|
354
354
|
assert_equal(values, target.values)
|
355
355
|
end
|
356
356
|
|
357
|
+
def test_decimal256
|
358
|
+
values = [
|
359
|
+
[
|
360
|
+
BigDecimal("92.92"),
|
361
|
+
nil,
|
362
|
+
BigDecimal("29.29"),
|
363
|
+
],
|
364
|
+
nil,
|
365
|
+
]
|
366
|
+
target = build({
|
367
|
+
type: :decimal256,
|
368
|
+
precision: 38,
|
369
|
+
scale: 2,
|
370
|
+
},
|
371
|
+
values)
|
372
|
+
assert_equal(values, target.values)
|
373
|
+
end
|
374
|
+
|
357
375
|
def test_list
|
358
376
|
values = [
|
359
377
|
[
|
@@ -324,6 +324,20 @@ module ValuesSparseUnionArrayTests
|
|
324
324
|
assert_equal(values, target.values)
|
325
325
|
end
|
326
326
|
|
327
|
+
def test_decimal256
|
328
|
+
values = [
|
329
|
+
{"0" => BigDecimal("92.92")},
|
330
|
+
{"1" => nil},
|
331
|
+
]
|
332
|
+
target = build({
|
333
|
+
type: :decimal256,
|
334
|
+
precision: 38,
|
335
|
+
scale: 2,
|
336
|
+
},
|
337
|
+
values)
|
338
|
+
assert_equal(values, target.values)
|
339
|
+
end
|
340
|
+
|
327
341
|
def test_list
|
328
342
|
values = [
|
329
343
|
{"0" => [true, nil, false]},
|
@@ -326,6 +326,21 @@ module ValuesStructArrayTests
|
|
326
326
|
assert_equal(values, target.values)
|
327
327
|
end
|
328
328
|
|
329
|
+
def test_decimal256
|
330
|
+
values = [
|
331
|
+
{"field" => BigDecimal("92.92")},
|
332
|
+
nil,
|
333
|
+
{"field" => nil},
|
334
|
+
]
|
335
|
+
target = build({
|
336
|
+
type: :decimal256,
|
337
|
+
precision: 38,
|
338
|
+
scale: 2,
|
339
|
+
},
|
340
|
+
values)
|
341
|
+
assert_equal(values, target.values)
|
342
|
+
end
|
343
|
+
|
329
344
|
def test_list
|
330
345
|
values = [
|
331
346
|
{"field" => [true, nil, false]},
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-arrow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Arrow Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bigdecimal
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.3
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.3
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: extpp
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -30,14 +44,14 @@ dependencies:
|
|
30
44
|
requirements:
|
31
45
|
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.
|
47
|
+
version: 3.4.5
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.
|
54
|
+
version: 3.4.5
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: native-package-installer
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +122,20 @@ dependencies:
|
|
108
122
|
- - ">="
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: fiddle
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.0.9
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.0.9
|
111
139
|
- !ruby/object:Gem::Dependency
|
112
140
|
name: rake
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,6 +211,8 @@ files:
|
|
183
211
|
- ext/arrow/converters.cpp
|
184
212
|
- ext/arrow/converters.hpp
|
185
213
|
- ext/arrow/extconf.rb
|
214
|
+
- ext/arrow/memory-view.cpp
|
215
|
+
- ext/arrow/memory-view.hpp
|
186
216
|
- ext/arrow/raw-records.cpp
|
187
217
|
- ext/arrow/red-arrow.hpp
|
188
218
|
- ext/arrow/values.cpp
|
@@ -197,6 +227,7 @@ files:
|
|
197
227
|
- lib/arrow/column-containable.rb
|
198
228
|
- lib/arrow/column.rb
|
199
229
|
- lib/arrow/compression-type.rb
|
230
|
+
- lib/arrow/constructor-arguments-gc-guardable.rb
|
200
231
|
- lib/arrow/csv-loader.rb
|
201
232
|
- lib/arrow/csv-read-options.rb
|
202
233
|
- lib/arrow/data-type.rb
|
@@ -204,16 +235,24 @@ files:
|
|
204
235
|
- lib/arrow/date32-array.rb
|
205
236
|
- lib/arrow/date64-array-builder.rb
|
206
237
|
- lib/arrow/date64-array.rb
|
238
|
+
- lib/arrow/datum.rb
|
207
239
|
- lib/arrow/decimal128-array-builder.rb
|
208
240
|
- lib/arrow/decimal128-array.rb
|
209
241
|
- lib/arrow/decimal128-data-type.rb
|
210
242
|
- lib/arrow/decimal128.rb
|
243
|
+
- lib/arrow/decimal256-array-builder.rb
|
244
|
+
- lib/arrow/decimal256-array.rb
|
245
|
+
- lib/arrow/decimal256-data-type.rb
|
246
|
+
- lib/arrow/decimal256.rb
|
211
247
|
- lib/arrow/dense-union-data-type.rb
|
212
248
|
- lib/arrow/dictionary-array.rb
|
213
249
|
- lib/arrow/dictionary-data-type.rb
|
250
|
+
- lib/arrow/equal-options.rb
|
214
251
|
- lib/arrow/field-containable.rb
|
215
252
|
- lib/arrow/field.rb
|
216
253
|
- lib/arrow/file-output-stream.rb
|
254
|
+
- lib/arrow/fixed-size-binary-array-builder.rb
|
255
|
+
- lib/arrow/fixed-size-binary-array.rb
|
217
256
|
- lib/arrow/generic-filterable.rb
|
218
257
|
- lib/arrow/generic-takeable.rb
|
219
258
|
- lib/arrow/group.rb
|
@@ -232,8 +271,11 @@ files:
|
|
232
271
|
- lib/arrow/record-containable.rb
|
233
272
|
- lib/arrow/record.rb
|
234
273
|
- lib/arrow/rolling-window.rb
|
274
|
+
- lib/arrow/scalar.rb
|
235
275
|
- lib/arrow/schema.rb
|
236
276
|
- lib/arrow/slicer.rb
|
277
|
+
- lib/arrow/sort-key.rb
|
278
|
+
- lib/arrow/sort-options.rb
|
237
279
|
- lib/arrow/sparse-union-data-type.rb
|
238
280
|
- lib/arrow/struct-array-builder.rb
|
239
281
|
- lib/arrow/struct-array.rb
|
@@ -281,6 +323,7 @@ files:
|
|
281
323
|
- test/test-array-builder.rb
|
282
324
|
- test/test-array.rb
|
283
325
|
- test/test-bigdecimal.rb
|
326
|
+
- test/test-boolean-scalar.rb
|
284
327
|
- test/test-buffer.rb
|
285
328
|
- test/test-chunked-array.rb
|
286
329
|
- test/test-column.rb
|
@@ -292,16 +335,25 @@ files:
|
|
292
335
|
- test/test-decimal128-array.rb
|
293
336
|
- test/test-decimal128-data-type.rb
|
294
337
|
- test/test-decimal128.rb
|
338
|
+
- test/test-decimal256-array-builder.rb
|
339
|
+
- test/test-decimal256-array.rb
|
340
|
+
- test/test-decimal256-data-type.rb
|
341
|
+
- test/test-decimal256.rb
|
295
342
|
- test/test-dense-union-data-type.rb
|
296
343
|
- test/test-dictionary-array.rb
|
297
344
|
- test/test-dictionary-data-type.rb
|
298
345
|
- test/test-feather.rb
|
299
346
|
- test/test-field.rb
|
300
347
|
- test/test-file-output-stream.rb
|
348
|
+
- test/test-fixed-size-binary-array-builder.rb
|
349
|
+
- test/test-fixed-size-binary-array.rb
|
350
|
+
- test/test-float-scalar.rb
|
351
|
+
- test/test-function.rb
|
301
352
|
- test/test-group.rb
|
302
353
|
- test/test-list-array-builder.rb
|
303
354
|
- test/test-list-array.rb
|
304
355
|
- test/test-list-data-type.rb
|
356
|
+
- test/test-memory-view.rb
|
305
357
|
- test/test-null-array.rb
|
306
358
|
- test/test-orc.rb
|
307
359
|
- test/test-record-batch-builder.rb
|
@@ -311,6 +363,9 @@ files:
|
|
311
363
|
- test/test-rolling-window.rb
|
312
364
|
- test/test-schema.rb
|
313
365
|
- test/test-slicer.rb
|
366
|
+
- test/test-sort-indices.rb
|
367
|
+
- test/test-sort-key.rb
|
368
|
+
- test/test-sort-options.rb
|
314
369
|
- test/test-sparse-union-data-type.rb
|
315
370
|
- test/test-struct-array-builder.rb
|
316
371
|
- test/test-struct-array.rb
|
@@ -333,7 +388,7 @@ homepage: https://arrow.apache.org/
|
|
333
388
|
licenses:
|
334
389
|
- Apache-2.0
|
335
390
|
metadata:
|
336
|
-
msys2_mingw_dependencies: arrow>=
|
391
|
+
msys2_mingw_dependencies: arrow>=5.0.0
|
337
392
|
post_install_message:
|
338
393
|
rdoc_options: []
|
339
394
|
require_paths:
|
@@ -349,79 +404,92 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
349
404
|
- !ruby/object:Gem::Version
|
350
405
|
version: '0'
|
351
406
|
requirements: []
|
352
|
-
rubygems_version: 3.
|
407
|
+
rubygems_version: 3.2.22
|
353
408
|
signing_key:
|
354
409
|
specification_version: 4
|
355
410
|
summary: Red Arrow is the Ruby bindings of Apache Arrow
|
356
411
|
test_files:
|
357
|
-
- test/test-orc.rb
|
358
|
-
- test/test-file-output-stream.rb
|
359
|
-
- test/test-dense-union-data-type.rb
|
360
|
-
- test/test-record-batch-builder.rb
|
361
|
-
- test/test-record-batch.rb
|
362
|
-
- test/test-list-data-type.rb
|
363
|
-
- test/test-decimal128.rb
|
364
|
-
- test/test-chunked-array.rb
|
365
|
-
- test/test-array.rb
|
366
|
-
- test/test-null-array.rb
|
367
|
-
- test/test-struct-array-builder.rb
|
368
|
-
- test/test-table.rb
|
369
|
-
- test/test-decimal128-data-type.rb
|
370
412
|
- test/fixture/TestOrcFile.test1.orc
|
413
|
+
- test/fixture/float-integer.csv
|
371
414
|
- test/fixture/integer-float.csv
|
372
415
|
- test/fixture/null-with-double-quote.csv
|
416
|
+
- test/fixture/null-without-double-quote.csv
|
417
|
+
- test/fixture/with-header-float.csv
|
373
418
|
- test/fixture/with-header.csv
|
374
|
-
- test/fixture/without-header.csv
|
375
419
|
- test/fixture/without-header-float.csv
|
376
|
-
- test/fixture/
|
377
|
-
- test/fixture
|
378
|
-
- test/
|
379
|
-
- test/run-test.rb
|
380
|
-
- test/test-group.rb
|
420
|
+
- test/fixture/without-header.csv
|
421
|
+
- test/helper/fixture.rb
|
422
|
+
- test/helper/omittable.rb
|
381
423
|
- test/helper.rb
|
382
|
-
- test/test-time64-array.rb
|
383
|
-
- test/test-csv-loader.rb
|
384
|
-
- test/test-feather.rb
|
385
|
-
- test/test-time64-data-type.rb
|
386
|
-
- test/values/test-sparse-union-array.rb
|
387
|
-
- test/values/test-basic-arrays.rb
|
388
|
-
- test/values/test-dense-union-array.rb
|
389
|
-
- test/values/test-list-array.rb
|
390
|
-
- test/values/test-struct-array.rb
|
391
|
-
- test/test-struct-data-type.rb
|
392
|
-
- test/test-date64-array.rb
|
393
|
-
- test/raw-records/test-sparse-union-array.rb
|
394
|
-
- test/raw-records/test-multiple-columns.rb
|
395
424
|
- test/raw-records/test-basic-arrays.rb
|
396
|
-
- test/raw-records/test-table.rb
|
397
425
|
- test/raw-records/test-dense-union-array.rb
|
398
426
|
- test/raw-records/test-list-array.rb
|
427
|
+
- test/raw-records/test-multiple-columns.rb
|
428
|
+
- test/raw-records/test-sparse-union-array.rb
|
399
429
|
- test/raw-records/test-struct-array.rb
|
400
|
-
- test/test-
|
401
|
-
- test/test
|
402
|
-
- test/test-timestamp-array.rb
|
403
|
-
- test/test-data-type.rb
|
430
|
+
- test/raw-records/test-table.rb
|
431
|
+
- test/run-test.rb
|
404
432
|
- test/test-array-builder.rb
|
405
|
-
- test/test-
|
406
|
-
- test/test-record-batch-file-reader.rb
|
407
|
-
- test/test-rolling-window.rb
|
408
|
-
- test/test-list-array-builder.rb
|
409
|
-
- test/test-slicer.rb
|
410
|
-
- test/test-decimal128-array-builder.rb
|
411
|
-
- test/test-schema.rb
|
412
|
-
- test/test-time.rb
|
413
|
-
- test/test-column.rb
|
433
|
+
- test/test-array.rb
|
414
434
|
- test/test-bigdecimal.rb
|
415
|
-
- test/test-
|
416
|
-
- test/test-dictionary-array.rb
|
417
|
-
- test/test-tensor.rb
|
418
|
-
- test/test-time32-array.rb
|
435
|
+
- test/test-boolean-scalar.rb
|
419
436
|
- test/test-buffer.rb
|
437
|
+
- test/test-chunked-array.rb
|
438
|
+
- test/test-column.rb
|
439
|
+
- test/test-csv-loader.rb
|
440
|
+
- test/test-data-type.rb
|
441
|
+
- test/test-date32-array.rb
|
442
|
+
- test/test-date64-array.rb
|
443
|
+
- test/test-decimal128-array-builder.rb
|
420
444
|
- test/test-decimal128-array.rb
|
421
|
-
- test/
|
422
|
-
- test/
|
445
|
+
- test/test-decimal128-data-type.rb
|
446
|
+
- test/test-decimal128.rb
|
447
|
+
- test/test-decimal256-array-builder.rb
|
448
|
+
- test/test-decimal256-array.rb
|
449
|
+
- test/test-decimal256-data-type.rb
|
450
|
+
- test/test-decimal256.rb
|
451
|
+
- test/test-dense-union-data-type.rb
|
452
|
+
- test/test-dictionary-array.rb
|
423
453
|
- test/test-dictionary-data-type.rb
|
424
|
-
- test/test-
|
454
|
+
- test/test-feather.rb
|
425
455
|
- test/test-field.rb
|
456
|
+
- test/test-file-output-stream.rb
|
457
|
+
- test/test-fixed-size-binary-array-builder.rb
|
458
|
+
- test/test-fixed-size-binary-array.rb
|
459
|
+
- test/test-float-scalar.rb
|
460
|
+
- test/test-function.rb
|
461
|
+
- test/test-group.rb
|
462
|
+
- test/test-list-array-builder.rb
|
463
|
+
- test/test-list-array.rb
|
464
|
+
- test/test-list-data-type.rb
|
465
|
+
- test/test-memory-view.rb
|
466
|
+
- test/test-null-array.rb
|
467
|
+
- test/test-orc.rb
|
468
|
+
- test/test-record-batch-builder.rb
|
469
|
+
- test/test-record-batch-file-reader.rb
|
426
470
|
- test/test-record-batch-iterator.rb
|
471
|
+
- test/test-record-batch.rb
|
472
|
+
- test/test-rolling-window.rb
|
473
|
+
- test/test-schema.rb
|
474
|
+
- test/test-slicer.rb
|
475
|
+
- test/test-sort-indices.rb
|
476
|
+
- test/test-sort-key.rb
|
477
|
+
- test/test-sort-options.rb
|
478
|
+
- test/test-sparse-union-data-type.rb
|
479
|
+
- test/test-struct-array-builder.rb
|
427
480
|
- test/test-struct-array.rb
|
481
|
+
- test/test-struct-data-type.rb
|
482
|
+
- test/test-table.rb
|
483
|
+
- test/test-tensor.rb
|
484
|
+
- test/test-time.rb
|
485
|
+
- test/test-time32-array.rb
|
486
|
+
- test/test-time32-data-type.rb
|
487
|
+
- test/test-time64-array.rb
|
488
|
+
- test/test-time64-data-type.rb
|
489
|
+
- test/test-timestamp-array.rb
|
490
|
+
- test/test-timestamp-data-type.rb
|
491
|
+
- test/values/test-basic-arrays.rb
|
492
|
+
- test/values/test-dense-union-array.rb
|
493
|
+
- test/values/test-list-array.rb
|
494
|
+
- test/values/test-sparse-union-array.rb
|
495
|
+
- test/values/test-struct-array.rb
|