red-arrow 8.0.0 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -7
  3. data/ext/arrow/arrow.cpp +67 -0
  4. data/ext/arrow/converters.cpp +10 -0
  5. data/ext/arrow/converters.hpp +310 -46
  6. data/ext/arrow/extconf.rb +41 -22
  7. data/ext/arrow/raw-records.cpp +165 -2
  8. data/ext/arrow/red-arrow.hpp +2 -0
  9. data/ext/arrow/values.cpp +6 -2
  10. data/lib/arrow/array-builder.rb +89 -14
  11. data/{test/test-time32-data-type.rb → lib/arrow/array-computable.rb} +24 -16
  12. data/{test/test-buffer.rb → lib/arrow/array-statistics.rb} +19 -24
  13. data/lib/arrow/array.rb +40 -4
  14. data/lib/arrow/chunked-array.rb +56 -1
  15. data/lib/arrow/column-containable.rb +9 -0
  16. data/lib/arrow/column.rb +49 -4
  17. data/{test/test-tensor.rb → lib/arrow/csv-write-options.rb} +28 -31
  18. data/lib/arrow/data-type.rb +17 -3
  19. data/lib/arrow/decimal128-array-builder.rb +16 -6
  20. data/lib/arrow/decimal128.rb +14 -0
  21. data/lib/arrow/decimal256-array-builder.rb +16 -6
  22. data/lib/arrow/decimal256.rb +14 -0
  23. data/{test/test-float-scalar.rb → lib/arrow/dense-union-array-builder.rb} +27 -24
  24. data/{test/test-boolean-scalar.rb → lib/arrow/dense-union-array.rb} +7 -7
  25. data/lib/arrow/duration-array-builder.rb +27 -0
  26. data/lib/arrow/duration-array.rb +24 -0
  27. data/lib/arrow/duration-data-type.rb +32 -0
  28. data/lib/arrow/expression.rb +6 -2
  29. data/lib/arrow/field-containable.rb +1 -1
  30. data/lib/arrow/field.rb +44 -3
  31. data/lib/arrow/fixed-size-list-array-builder.rb +29 -0
  32. data/lib/arrow/fixed-size-list-data-type.rb +118 -0
  33. data/lib/arrow/function.rb +0 -1
  34. data/lib/arrow/half-float-array-builder.rb +32 -0
  35. data/lib/arrow/half-float-array.rb +24 -0
  36. data/lib/arrow/half-float.rb +118 -0
  37. data/{test/helper/fixture.rb → lib/arrow/input-referable.rb} +7 -6
  38. data/lib/arrow/jruby/array-builder.rb +114 -0
  39. data/lib/arrow/jruby/array.rb +109 -0
  40. data/lib/arrow/jruby/chunked-array.rb +36 -0
  41. data/lib/arrow/jruby/compression-type.rb +26 -0
  42. data/lib/arrow/jruby/csv-read-options.rb +32 -0
  43. data/{test/test-map-data-type.rb → lib/arrow/jruby/data-type.rb} +24 -12
  44. data/lib/arrow/jruby/decimal128.rb +28 -0
  45. data/lib/arrow/jruby/decimal256.rb +28 -0
  46. data/{test/fixture/float-integer.csv → lib/arrow/jruby/error.rb} +7 -4
  47. data/lib/arrow/jruby/file-system.rb +24 -0
  48. data/{test/test-null-array.rb → lib/arrow/jruby/function.rb} +5 -4
  49. data/lib/arrow/jruby/record-batch-iterator.rb +24 -0
  50. data/{test/fixture/null-with-double-quote.csv → lib/arrow/jruby/record-batch.rb} +8 -4
  51. data/{test/fixture/integer-float.csv → lib/arrow/jruby/sort-key.rb} +8 -4
  52. data/lib/arrow/jruby/sort-options.rb +24 -0
  53. data/lib/arrow/jruby/stream-listener-raw.rb +25 -0
  54. data/{test/test-rolling-window.rb → lib/arrow/jruby/table.rb} +19 -19
  55. data/lib/arrow/jruby/writable.rb +24 -0
  56. data/lib/arrow/jruby.rb +52 -0
  57. data/{test/test-date32-array.rb → lib/arrow/large-list-array-builder.rb} +10 -5
  58. data/lib/arrow/large-list-data-type.rb +83 -0
  59. data/lib/arrow/libraries.rb +140 -0
  60. data/lib/arrow/list-array-builder.rb +1 -68
  61. data/lib/arrow/list-data-type.rb +3 -38
  62. data/{test/test-dictionary-array.rb → lib/arrow/list-field-resolvable.rb} +26 -17
  63. data/lib/arrow/list-slice-options.rb +76 -0
  64. data/lib/arrow/list-values-appendable.rb +88 -0
  65. data/lib/arrow/loader.rb +15 -96
  66. data/{test/test-decimal128-array.rb → lib/arrow/make-struct-options.rb} +18 -18
  67. data/lib/arrow/raw-table-converter.rb +10 -3
  68. data/lib/arrow/raw-tensor-converter.rb +89 -0
  69. data/lib/arrow/record-batch-file-reader.rb +2 -0
  70. data/lib/arrow/record-batch-stream-reader.rb +2 -0
  71. data/lib/arrow/record-batch.rb +6 -2
  72. data/{test/fixture/null-without-double-quote.csv → lib/arrow/ruby.rb} +5 -4
  73. data/lib/arrow/scalar.rb +67 -0
  74. data/lib/arrow/slicer.rb +61 -0
  75. data/lib/arrow/sort-key.rb +3 -3
  76. data/lib/arrow/sparse-union-array-builder.rb +56 -0
  77. data/lib/arrow/sparse-union-array.rb +26 -0
  78. data/lib/arrow/stream-decoder.rb +29 -0
  79. data/{test/test-decimal256-data-type.rb → lib/arrow/stream-listener.rb} +25 -9
  80. data/lib/arrow/string-array-builder.rb +30 -0
  81. data/lib/arrow/struct-array-builder.rb +0 -5
  82. data/lib/arrow/table-formatter.rb +38 -8
  83. data/lib/arrow/table-list-formatter.rb +3 -3
  84. data/lib/arrow/table-loader.rb +11 -5
  85. data/lib/arrow/table-saver.rb +4 -3
  86. data/lib/arrow/table-table-formatter.rb +7 -0
  87. data/lib/arrow/table.rb +180 -33
  88. data/lib/arrow/tensor.rb +144 -0
  89. data/lib/arrow/time-unit.rb +31 -0
  90. data/lib/arrow/time32-array-builder.rb +2 -14
  91. data/lib/arrow/time32-data-type.rb +9 -38
  92. data/lib/arrow/time64-array-builder.rb +2 -14
  93. data/lib/arrow/time64-data-type.rb +9 -38
  94. data/lib/arrow/timestamp-array-builder.rb +3 -15
  95. data/lib/arrow/timestamp-data-type.rb +9 -34
  96. data/{test/test-date64-array.rb → lib/arrow/timestamp-parser.rb} +14 -6
  97. data/lib/arrow/union-array-builder.rb +59 -0
  98. data/lib/arrow/union-array.rb +26 -0
  99. data/lib/arrow/version.rb +1 -1
  100. data/lib/arrow.rb +2 -7
  101. data/red-arrow.gemspec +74 -11
  102. metadata +85 -210
  103. data/test/fixture/TestOrcFile.test1.orc +0 -0
  104. data/test/fixture/with-header-float.csv +0 -20
  105. data/test/fixture/with-header.csv +0 -20
  106. data/test/fixture/without-header-float.csv +0 -19
  107. data/test/fixture/without-header.csv +0 -19
  108. data/test/helper/omittable.rb +0 -36
  109. data/test/helper.rb +0 -30
  110. data/test/raw-records/test-basic-arrays.rb +0 -395
  111. data/test/raw-records/test-dense-union-array.rb +0 -521
  112. data/test/raw-records/test-list-array.rb +0 -610
  113. data/test/raw-records/test-map-array.rb +0 -478
  114. data/test/raw-records/test-multiple-columns.rb +0 -65
  115. data/test/raw-records/test-sparse-union-array.rb +0 -511
  116. data/test/raw-records/test-struct-array.rb +0 -515
  117. data/test/raw-records/test-table.rb +0 -47
  118. data/test/run-test.rb +0 -71
  119. data/test/test-array-builder.rb +0 -136
  120. data/test/test-array.rb +0 -325
  121. data/test/test-bigdecimal.rb +0 -40
  122. data/test/test-binary-dictionary-array-builder.rb +0 -103
  123. data/test/test-chunked-array.rb +0 -183
  124. data/test/test-column.rb +0 -92
  125. data/test/test-csv-loader.rb +0 -250
  126. data/test/test-data-type.rb +0 -83
  127. data/test/test-decimal128-array-builder.rb +0 -112
  128. data/test/test-decimal128-data-type.rb +0 -31
  129. data/test/test-decimal128.rb +0 -102
  130. data/test/test-decimal256-array-builder.rb +0 -112
  131. data/test/test-decimal256-array.rb +0 -38
  132. data/test/test-decimal256.rb +0 -102
  133. data/test/test-dense-union-data-type.rb +0 -41
  134. data/test/test-dictionary-data-type.rb +0 -40
  135. data/test/test-expression.rb +0 -40
  136. data/test/test-feather.rb +0 -49
  137. data/test/test-field.rb +0 -91
  138. data/test/test-file-output-stream.rb +0 -54
  139. data/test/test-fixed-size-binary-array-builder.rb +0 -92
  140. data/test/test-fixed-size-binary-array.rb +0 -36
  141. data/test/test-function.rb +0 -210
  142. data/test/test-group.rb +0 -180
  143. data/test/test-list-array-builder.rb +0 -79
  144. data/test/test-list-array.rb +0 -32
  145. data/test/test-list-data-type.rb +0 -69
  146. data/test/test-map-array-builder.rb +0 -110
  147. data/test/test-map-array.rb +0 -33
  148. data/test/test-memory-view.rb +0 -434
  149. data/test/test-orc.rb +0 -173
  150. data/test/test-record-batch-builder.rb +0 -125
  151. data/test/test-record-batch-file-reader.rb +0 -115
  152. data/test/test-record-batch-iterator.rb +0 -37
  153. data/test/test-record-batch-reader.rb +0 -46
  154. data/test/test-record-batch.rb +0 -182
  155. data/test/test-schema.rb +0 -134
  156. data/test/test-slicer.rb +0 -487
  157. data/test/test-sort-indices.rb +0 -40
  158. data/test/test-sort-key.rb +0 -81
  159. data/test/test-sort-options.rb +0 -58
  160. data/test/test-sparse-union-data-type.rb +0 -41
  161. data/test/test-string-dictionary-array-builder.rb +0 -103
  162. data/test/test-struct-array-builder.rb +0 -184
  163. data/test/test-struct-array.rb +0 -94
  164. data/test/test-struct-data-type.rb +0 -112
  165. data/test/test-table.rb +0 -1123
  166. data/test/test-time.rb +0 -288
  167. data/test/test-time32-array.rb +0 -81
  168. data/test/test-time64-array.rb +0 -81
  169. data/test/test-time64-data-type.rb +0 -42
  170. data/test/test-timestamp-array.rb +0 -45
  171. data/test/test-timestamp-data-type.rb +0 -42
  172. data/test/values/test-basic-arrays.rb +0 -325
  173. data/test/values/test-dense-union-array.rb +0 -509
  174. data/test/values/test-dictionary-array.rb +0 -295
  175. data/test/values/test-list-array.rb +0 -571
  176. data/test/values/test-map-array.rb +0 -466
  177. data/test/values/test-sparse-union-array.rb +0 -500
  178. data/test/values/test-struct-array.rb +0 -512
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: red-arrow
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0
4
+ version: 24.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Apache Arrow Developers
8
- autorequire:
7
+ - The Apache Software Foundation
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-05-07 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bigdecimal
@@ -16,56 +15,56 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 2.0.3
18
+ version: 3.1.0
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: 2.0.3
25
+ version: 3.1.0
27
26
  - !ruby/object:Gem::Dependency
28
- name: extpp
27
+ name: csv
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - ">="
32
31
  - !ruby/object:Gem::Version
33
- version: 0.0.7
32
+ version: '0'
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - ">="
39
38
  - !ruby/object:Gem::Version
40
- version: 0.0.7
39
+ version: '0'
41
40
  - !ruby/object:Gem::Dependency
42
- name: gio2
41
+ name: extpp
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - ">="
46
45
  - !ruby/object:Gem::Version
47
- version: 3.5.0
46
+ version: 0.1.2
48
47
  type: :runtime
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - ">="
53
52
  - !ruby/object:Gem::Version
54
- version: 3.5.0
53
+ version: 0.1.2
55
54
  - !ruby/object:Gem::Dependency
56
- name: native-package-installer
55
+ name: gio2
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - ">="
60
59
  - !ruby/object:Gem::Version
61
- version: '0'
60
+ version: 4.2.3
62
61
  type: :runtime
63
62
  prerelease: false
64
63
  version_requirements: !ruby/object:Gem::Requirement
65
64
  requirements:
66
65
  - - ">="
67
66
  - !ruby/object:Gem::Version
68
- version: '0'
67
+ version: 4.2.3
69
68
  - !ruby/object:Gem::Dependency
70
69
  name: pkg-config
71
70
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +80,7 @@ dependencies:
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0'
83
82
  description: Apache Arrow is a common in-memory columnar data store. It's useful to
84
- share and process large data.
83
+ share and process large data efficiently.
85
84
  email:
86
85
  - dev@arrow.apache.org
87
86
  executables: []
@@ -109,6 +108,8 @@ files:
109
108
  - lib/arrow/aggregate-node-options.rb
110
109
  - lib/arrow/aggregation.rb
111
110
  - lib/arrow/array-builder.rb
111
+ - lib/arrow/array-computable.rb
112
+ - lib/arrow/array-statistics.rb
112
113
  - lib/arrow/array.rb
113
114
  - lib/arrow/bigdecimal-extension.rb
114
115
  - lib/arrow/binary-dictionary-array-builder.rb
@@ -121,6 +122,7 @@ files:
121
122
  - lib/arrow/constructor-arguments-gc-guardable.rb
122
123
  - lib/arrow/csv-loader.rb
123
124
  - lib/arrow/csv-read-options.rb
125
+ - lib/arrow/csv-write-options.rb
124
126
  - lib/arrow/data-type.rb
125
127
  - lib/arrow/date32-array-builder.rb
126
128
  - lib/arrow/date32-array.rb
@@ -136,9 +138,14 @@ files:
136
138
  - lib/arrow/decimal256-array.rb
137
139
  - lib/arrow/decimal256-data-type.rb
138
140
  - lib/arrow/decimal256.rb
141
+ - lib/arrow/dense-union-array-builder.rb
142
+ - lib/arrow/dense-union-array.rb
139
143
  - lib/arrow/dense-union-data-type.rb
140
144
  - lib/arrow/dictionary-array.rb
141
145
  - lib/arrow/dictionary-data-type.rb
146
+ - lib/arrow/duration-array-builder.rb
147
+ - lib/arrow/duration-array.rb
148
+ - lib/arrow/duration-data-type.rb
142
149
  - lib/arrow/equal-options.rb
143
150
  - lib/arrow/expression.rb
144
151
  - lib/arrow/field-containable.rb
@@ -147,13 +154,45 @@ files:
147
154
  - lib/arrow/file-system.rb
148
155
  - lib/arrow/fixed-size-binary-array-builder.rb
149
156
  - lib/arrow/fixed-size-binary-array.rb
157
+ - lib/arrow/fixed-size-list-array-builder.rb
158
+ - lib/arrow/fixed-size-list-data-type.rb
150
159
  - lib/arrow/function.rb
151
160
  - lib/arrow/generic-filterable.rb
152
161
  - lib/arrow/generic-takeable.rb
153
162
  - lib/arrow/group.rb
163
+ - lib/arrow/half-float-array-builder.rb
164
+ - lib/arrow/half-float-array.rb
165
+ - lib/arrow/half-float.rb
166
+ - lib/arrow/input-referable.rb
167
+ - lib/arrow/jruby.rb
168
+ - lib/arrow/jruby/array-builder.rb
169
+ - lib/arrow/jruby/array.rb
170
+ - lib/arrow/jruby/chunked-array.rb
171
+ - lib/arrow/jruby/compression-type.rb
172
+ - lib/arrow/jruby/csv-read-options.rb
173
+ - lib/arrow/jruby/data-type.rb
174
+ - lib/arrow/jruby/decimal128.rb
175
+ - lib/arrow/jruby/decimal256.rb
176
+ - lib/arrow/jruby/error.rb
177
+ - lib/arrow/jruby/file-system.rb
178
+ - lib/arrow/jruby/function.rb
179
+ - lib/arrow/jruby/record-batch-iterator.rb
180
+ - lib/arrow/jruby/record-batch.rb
181
+ - lib/arrow/jruby/sort-key.rb
182
+ - lib/arrow/jruby/sort-options.rb
183
+ - lib/arrow/jruby/stream-listener-raw.rb
184
+ - lib/arrow/jruby/table.rb
185
+ - lib/arrow/jruby/writable.rb
186
+ - lib/arrow/large-list-array-builder.rb
187
+ - lib/arrow/large-list-data-type.rb
188
+ - lib/arrow/libraries.rb
154
189
  - lib/arrow/list-array-builder.rb
155
190
  - lib/arrow/list-data-type.rb
191
+ - lib/arrow/list-field-resolvable.rb
192
+ - lib/arrow/list-slice-options.rb
193
+ - lib/arrow/list-values-appendable.rb
156
194
  - lib/arrow/loader.rb
195
+ - lib/arrow/make-struct-options.rb
157
196
  - lib/arrow/map-array-builder.rb
158
197
  - lib/arrow/map-array.rb
159
198
  - lib/arrow/map-data-type.rb
@@ -162,6 +201,7 @@ files:
162
201
  - lib/arrow/null-array.rb
163
202
  - lib/arrow/path-extension.rb
164
203
  - lib/arrow/raw-table-converter.rb
204
+ - lib/arrow/raw-tensor-converter.rb
165
205
  - lib/arrow/record-batch-builder.rb
166
206
  - lib/arrow/record-batch-file-reader.rb
167
207
  - lib/arrow/record-batch-iterator.rb
@@ -171,6 +211,7 @@ files:
171
211
  - lib/arrow/record-containable.rb
172
212
  - lib/arrow/record.rb
173
213
  - lib/arrow/rolling-window.rb
214
+ - lib/arrow/ruby.rb
174
215
  - lib/arrow/s3-global-options.rb
175
216
  - lib/arrow/scalar.rb
176
217
  - lib/arrow/schema.rb
@@ -178,7 +219,12 @@ files:
178
219
  - lib/arrow/sort-key.rb
179
220
  - lib/arrow/sort-options.rb
180
221
  - lib/arrow/source-node-options.rb
222
+ - lib/arrow/sparse-union-array-builder.rb
223
+ - lib/arrow/sparse-union-array.rb
181
224
  - lib/arrow/sparse-union-data-type.rb
225
+ - lib/arrow/stream-decoder.rb
226
+ - lib/arrow/stream-listener.rb
227
+ - lib/arrow/string-array-builder.rb
182
228
  - lib/arrow/string-dictionary-array-builder.rb
183
229
  - lib/arrow/struct-array-builder.rb
184
230
  - lib/arrow/struct-array.rb
@@ -192,6 +238,7 @@ files:
192
238
  - lib/arrow/table-table-formatter.rb
193
239
  - lib/arrow/table.rb
194
240
  - lib/arrow/tensor.rb
241
+ - lib/arrow/time-unit.rb
195
242
  - lib/arrow/time.rb
196
243
  - lib/arrow/time32-array-builder.rb
197
244
  - lib/arrow/time32-array.rb
@@ -202,109 +249,17 @@ files:
202
249
  - lib/arrow/timestamp-array-builder.rb
203
250
  - lib/arrow/timestamp-array.rb
204
251
  - lib/arrow/timestamp-data-type.rb
252
+ - lib/arrow/timestamp-parser.rb
253
+ - lib/arrow/union-array-builder.rb
254
+ - lib/arrow/union-array.rb
205
255
  - lib/arrow/version.rb
206
256
  - lib/arrow/writable.rb
207
257
  - red-arrow.gemspec
208
- - test/fixture/TestOrcFile.test1.orc
209
- - test/fixture/float-integer.csv
210
- - test/fixture/integer-float.csv
211
- - test/fixture/null-with-double-quote.csv
212
- - test/fixture/null-without-double-quote.csv
213
- - test/fixture/with-header-float.csv
214
- - test/fixture/with-header.csv
215
- - test/fixture/without-header-float.csv
216
- - test/fixture/without-header.csv
217
- - test/helper.rb
218
- - test/helper/fixture.rb
219
- - test/helper/omittable.rb
220
- - test/raw-records/test-basic-arrays.rb
221
- - test/raw-records/test-dense-union-array.rb
222
- - test/raw-records/test-list-array.rb
223
- - test/raw-records/test-map-array.rb
224
- - test/raw-records/test-multiple-columns.rb
225
- - test/raw-records/test-sparse-union-array.rb
226
- - test/raw-records/test-struct-array.rb
227
- - test/raw-records/test-table.rb
228
- - test/run-test.rb
229
- - test/test-array-builder.rb
230
- - test/test-array.rb
231
- - test/test-bigdecimal.rb
232
- - test/test-binary-dictionary-array-builder.rb
233
- - test/test-boolean-scalar.rb
234
- - test/test-buffer.rb
235
- - test/test-chunked-array.rb
236
- - test/test-column.rb
237
- - test/test-csv-loader.rb
238
- - test/test-data-type.rb
239
- - test/test-date32-array.rb
240
- - test/test-date64-array.rb
241
- - test/test-decimal128-array-builder.rb
242
- - test/test-decimal128-array.rb
243
- - test/test-decimal128-data-type.rb
244
- - test/test-decimal128.rb
245
- - test/test-decimal256-array-builder.rb
246
- - test/test-decimal256-array.rb
247
- - test/test-decimal256-data-type.rb
248
- - test/test-decimal256.rb
249
- - test/test-dense-union-data-type.rb
250
- - test/test-dictionary-array.rb
251
- - test/test-dictionary-data-type.rb
252
- - test/test-expression.rb
253
- - test/test-feather.rb
254
- - test/test-field.rb
255
- - test/test-file-output-stream.rb
256
- - test/test-fixed-size-binary-array-builder.rb
257
- - test/test-fixed-size-binary-array.rb
258
- - test/test-float-scalar.rb
259
- - test/test-function.rb
260
- - test/test-group.rb
261
- - test/test-list-array-builder.rb
262
- - test/test-list-array.rb
263
- - test/test-list-data-type.rb
264
- - test/test-map-array-builder.rb
265
- - test/test-map-array.rb
266
- - test/test-map-data-type.rb
267
- - test/test-memory-view.rb
268
- - test/test-null-array.rb
269
- - test/test-orc.rb
270
- - test/test-record-batch-builder.rb
271
- - test/test-record-batch-file-reader.rb
272
- - test/test-record-batch-iterator.rb
273
- - test/test-record-batch-reader.rb
274
- - test/test-record-batch.rb
275
- - test/test-rolling-window.rb
276
- - test/test-schema.rb
277
- - test/test-slicer.rb
278
- - test/test-sort-indices.rb
279
- - test/test-sort-key.rb
280
- - test/test-sort-options.rb
281
- - test/test-sparse-union-data-type.rb
282
- - test/test-string-dictionary-array-builder.rb
283
- - test/test-struct-array-builder.rb
284
- - test/test-struct-array.rb
285
- - test/test-struct-data-type.rb
286
- - test/test-table.rb
287
- - test/test-tensor.rb
288
- - test/test-time.rb
289
- - test/test-time32-array.rb
290
- - test/test-time32-data-type.rb
291
- - test/test-time64-array.rb
292
- - test/test-time64-data-type.rb
293
- - test/test-timestamp-array.rb
294
- - test/test-timestamp-data-type.rb
295
- - test/values/test-basic-arrays.rb
296
- - test/values/test-dense-union-array.rb
297
- - test/values/test-dictionary-array.rb
298
- - test/values/test-list-array.rb
299
- - test/values/test-map-array.rb
300
- - test/values/test-sparse-union-array.rb
301
- - test/values/test-struct-array.rb
302
258
  homepage: https://arrow.apache.org/
303
259
  licenses:
304
260
  - Apache-2.0
305
261
  metadata:
306
- msys2_mingw_dependencies: arrow>=8.0.0
307
- post_install_message:
262
+ msys2_mingw_dependencies: arrow>=24.0.0
308
263
  rdoc_options: []
309
264
  require_paths:
310
265
  - lib
@@ -318,103 +273,23 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
273
  - - ">="
319
274
  - !ruby/object:Gem::Version
320
275
  version: '0'
321
- requirements: []
322
- rubygems_version: 3.4.0.dev
323
- signing_key:
276
+ requirements:
277
+ - 'system: arrow-glib>=24.0.0: amazon_linux: arrow-glib-devel'
278
+ - 'system: arrow-glib>=24.0.0: amazon_linux: https://packages.apache.org/artifactory/arrow/amazon-linux/%{version}/apache-arrow-release-latest.rpm'
279
+ - 'system: arrow-glib>=24.0.0: amazon_linux: arrow-glib-devel'
280
+ - 'system: arrow-glib>=24.0.0: centos: arrow-glib-devel'
281
+ - 'system: arrow-glib>=24.0.0: centos: https://packages.apache.org/artifactory/arrow/centos/%{major_version}-stream/apache-arrow-release-latest.rpm'
282
+ - 'system: arrow-glib>=24.0.0: centos: arrow-glib-devel'
283
+ - 'system: arrow-glib>=24.0.0: conda: arrow-c-glib'
284
+ - 'system: arrow-glib>=24.0.0: debian: libarrow-glib-dev'
285
+ - 'system: arrow-glib>=24.0.0: debian: https://packages.apache.org/artifactory/arrow/%{distribution}/apache-arrow-apt-source-latest-%{code_name}.deb'
286
+ - 'system: arrow-glib>=24.0.0: debian: libarrow-glib-dev'
287
+ - 'system: arrow-glib>=24.0.0: fedora: libarrow-glib-devel'
288
+ - 'system: arrow-glib>=24.0.0: homebrew: apache-arrow-glib'
289
+ - 'system: arrow-glib>=24.0.0: rhel: arrow-glib-devel'
290
+ - 'system: arrow-glib>=24.0.0: rhel: https://packages.apache.org/artifactory/arrow/almalinux/%{major_version}/apache-arrow-release-latest.rpm'
291
+ - 'system: arrow-glib>=24.0.0: rhel: arrow-glib-devel'
292
+ rubygems_version: 3.6.7
324
293
  specification_version: 4
325
294
  summary: Red Arrow is the Ruby bindings of Apache Arrow
326
- test_files:
327
- - test/fixture/TestOrcFile.test1.orc
328
- - test/fixture/float-integer.csv
329
- - test/fixture/integer-float.csv
330
- - test/fixture/null-with-double-quote.csv
331
- - test/fixture/null-without-double-quote.csv
332
- - test/fixture/with-header-float.csv
333
- - test/fixture/with-header.csv
334
- - test/fixture/without-header-float.csv
335
- - test/fixture/without-header.csv
336
- - test/helper/fixture.rb
337
- - test/helper/omittable.rb
338
- - test/helper.rb
339
- - test/raw-records/test-basic-arrays.rb
340
- - test/raw-records/test-dense-union-array.rb
341
- - test/raw-records/test-list-array.rb
342
- - test/raw-records/test-map-array.rb
343
- - test/raw-records/test-multiple-columns.rb
344
- - test/raw-records/test-sparse-union-array.rb
345
- - test/raw-records/test-struct-array.rb
346
- - test/raw-records/test-table.rb
347
- - test/run-test.rb
348
- - test/test-array-builder.rb
349
- - test/test-array.rb
350
- - test/test-bigdecimal.rb
351
- - test/test-binary-dictionary-array-builder.rb
352
- - test/test-boolean-scalar.rb
353
- - test/test-buffer.rb
354
- - test/test-chunked-array.rb
355
- - test/test-column.rb
356
- - test/test-csv-loader.rb
357
- - test/test-data-type.rb
358
- - test/test-date32-array.rb
359
- - test/test-date64-array.rb
360
- - test/test-decimal128-array-builder.rb
361
- - test/test-decimal128-array.rb
362
- - test/test-decimal128-data-type.rb
363
- - test/test-decimal128.rb
364
- - test/test-decimal256-array-builder.rb
365
- - test/test-decimal256-array.rb
366
- - test/test-decimal256-data-type.rb
367
- - test/test-decimal256.rb
368
- - test/test-dense-union-data-type.rb
369
- - test/test-dictionary-array.rb
370
- - test/test-dictionary-data-type.rb
371
- - test/test-expression.rb
372
- - test/test-feather.rb
373
- - test/test-field.rb
374
- - test/test-file-output-stream.rb
375
- - test/test-fixed-size-binary-array-builder.rb
376
- - test/test-fixed-size-binary-array.rb
377
- - test/test-float-scalar.rb
378
- - test/test-function.rb
379
- - test/test-group.rb
380
- - test/test-list-array-builder.rb
381
- - test/test-list-array.rb
382
- - test/test-list-data-type.rb
383
- - test/test-map-array-builder.rb
384
- - test/test-map-array.rb
385
- - test/test-map-data-type.rb
386
- - test/test-memory-view.rb
387
- - test/test-null-array.rb
388
- - test/test-orc.rb
389
- - test/test-record-batch-builder.rb
390
- - test/test-record-batch-file-reader.rb
391
- - test/test-record-batch-iterator.rb
392
- - test/test-record-batch-reader.rb
393
- - test/test-record-batch.rb
394
- - test/test-rolling-window.rb
395
- - test/test-schema.rb
396
- - test/test-slicer.rb
397
- - test/test-sort-indices.rb
398
- - test/test-sort-key.rb
399
- - test/test-sort-options.rb
400
- - test/test-sparse-union-data-type.rb
401
- - test/test-string-dictionary-array-builder.rb
402
- - test/test-struct-array-builder.rb
403
- - test/test-struct-array.rb
404
- - test/test-struct-data-type.rb
405
- - test/test-table.rb
406
- - test/test-tensor.rb
407
- - test/test-time.rb
408
- - test/test-time32-array.rb
409
- - test/test-time32-data-type.rb
410
- - test/test-time64-array.rb
411
- - test/test-time64-data-type.rb
412
- - test/test-timestamp-array.rb
413
- - test/test-timestamp-data-type.rb
414
- - test/values/test-basic-arrays.rb
415
- - test/values/test-dense-union-array.rb
416
- - test/values/test-dictionary-array.rb
417
- - test/values/test-list-array.rb
418
- - test/values/test-map-array.rb
419
- - test/values/test-sparse-union-array.rb
420
- - test/values/test-struct-array.rb
295
+ test_files: []
Binary file
@@ -1,20 +0,0 @@
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
- name,score
18
- alice,10.1
19
- bob,29.2
20
- chris,-1.3
@@ -1,20 +0,0 @@
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
- name,score
18
- alice,10
19
- bob,29
20
- chris,-1
@@ -1,19 +0,0 @@
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
- alice,10.1
18
- bob,29.2
19
- chris,-1.3
@@ -1,19 +0,0 @@
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
- alice,10
18
- bob,29
19
- chris,-1
@@ -1,36 +0,0 @@
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
- module Helper
19
- module Omittable
20
- def require_gi_bindings(major, minor, micro)
21
- return if GLib.check_binding_version?(major, minor, micro)
22
- message =
23
- "Require gobject-introspection #{major}.#{minor}.#{micro} or later: " +
24
- GLib::BINDING_VERSION.join(".")
25
- omit(message)
26
- end
27
-
28
- def require_gi(major, minor, micro)
29
- return if GObjectIntrospection::Version.or_later?(major, minor, micro)
30
- message =
31
- "Require GObject Introspection #{major}.#{minor}.#{micro} or later: " +
32
- GObjectIntrospection::Version::STRING
33
- omit(message)
34
- end
35
- end
36
- end
data/test/helper.rb DELETED
@@ -1,30 +0,0 @@
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
- require "arrow"
19
-
20
- require "fiddle"
21
- require "pathname"
22
- require "tempfile"
23
- require "timeout"
24
- require "webrick"
25
- require "zlib"
26
-
27
- require "test-unit"
28
-
29
- require_relative "helper/fixture"
30
- require_relative "helper/omittable"