red-arrow 0.15.1 → 1.0.1
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.
- checksums.yaml +4 -4
- data/Rakefile +28 -16
- data/ext/arrow/converters.hpp +63 -33
- data/ext/arrow/raw-records.cpp +2 -1
- data/ext/arrow/values.cpp +2 -1
- data/lib/arrow/array-builder.rb +101 -52
- data/lib/arrow/array.rb +28 -10
- data/lib/arrow/{binary-array-builder.rb → buffer.rb} +7 -15
- data/lib/arrow/chunked-array.rb +2 -0
- data/lib/arrow/csv-loader.rb +5 -0
- data/lib/arrow/csv-read-options.rb +18 -0
- data/lib/arrow/data-type.rb +35 -2
- data/lib/arrow/decimal128-array-builder.rb +0 -2
- data/lib/arrow/dictionary-array.rb +24 -0
- data/lib/arrow/field.rb +1 -1
- data/lib/arrow/generic-filterable.rb +43 -0
- data/lib/arrow/generic-takeable.rb +38 -0
- data/lib/arrow/list-data-type.rb +58 -8
- data/lib/arrow/loader.rb +12 -1
- data/lib/arrow/null-array-builder.rb +1 -1
- data/lib/arrow/null-array.rb +24 -0
- data/lib/arrow/raw-table-converter.rb +47 -0
- data/lib/arrow/record-batch-iterator.rb +22 -0
- data/lib/arrow/record-batch.rb +8 -3
- data/lib/arrow/schema.rb +5 -2
- data/lib/arrow/struct-array-builder.rb +13 -7
- data/lib/arrow/struct-data-type.rb +0 -2
- data/lib/arrow/table-loader.rb +29 -6
- data/lib/arrow/table-saver.rb +37 -13
- data/lib/arrow/table.rb +20 -73
- data/lib/arrow/version.rb +1 -1
- data/red-arrow.gemspec +3 -1
- data/test/helper.rb +1 -0
- data/test/helper/omittable.rb +36 -0
- data/test/raw-records/test-dense-union-array.rb +1 -34
- data/test/raw-records/test-sparse-union-array.rb +1 -33
- data/test/run-test.rb +14 -3
- data/test/test-array-builder.rb +17 -0
- data/test/test-array.rb +104 -0
- data/test/test-buffer.rb +11 -0
- data/test/test-chunked-array.rb +96 -0
- data/test/test-csv-loader.rb +2 -2
- data/test/test-data-type.rb +11 -0
- data/test/test-dense-union-data-type.rb +2 -2
- data/test/test-dictionary-array.rb +41 -0
- data/test/test-feather.rb +21 -6
- data/test/test-list-data-type.rb +27 -1
- data/test/test-null-array.rb +23 -0
- data/test/test-record-batch-iterator.rb +37 -0
- data/test/test-record-batch.rb +14 -0
- data/test/test-schema.rb +16 -0
- data/test/test-slicer.rb +74 -30
- data/test/test-sparse-union-data-type.rb +2 -2
- data/test/test-struct-array-builder.rb +8 -4
- data/test/test-table.rb +153 -14
- data/test/test-timestamp-array.rb +19 -0
- data/test/values/test-dense-union-array.rb +1 -34
- data/test/values/test-sparse-union-array.rb +1 -33
- metadata +22 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-arrow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Arrow Developers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: extpp
|
@@ -191,8 +191,8 @@ files:
|
|
191
191
|
- lib/arrow/array-builder.rb
|
192
192
|
- lib/arrow/array.rb
|
193
193
|
- lib/arrow/bigdecimal-extension.rb
|
194
|
-
- lib/arrow/binary-array-builder.rb
|
195
194
|
- lib/arrow/block-closable.rb
|
195
|
+
- lib/arrow/buffer.rb
|
196
196
|
- lib/arrow/chunked-array.rb
|
197
197
|
- lib/arrow/column-containable.rb
|
198
198
|
- lib/arrow/column.rb
|
@@ -209,18 +209,24 @@ files:
|
|
209
209
|
- lib/arrow/decimal128-data-type.rb
|
210
210
|
- lib/arrow/decimal128.rb
|
211
211
|
- lib/arrow/dense-union-data-type.rb
|
212
|
+
- lib/arrow/dictionary-array.rb
|
212
213
|
- lib/arrow/dictionary-data-type.rb
|
213
214
|
- lib/arrow/field-containable.rb
|
214
215
|
- lib/arrow/field.rb
|
215
216
|
- lib/arrow/file-output-stream.rb
|
217
|
+
- lib/arrow/generic-filterable.rb
|
218
|
+
- lib/arrow/generic-takeable.rb
|
216
219
|
- lib/arrow/group.rb
|
217
220
|
- lib/arrow/list-array-builder.rb
|
218
221
|
- lib/arrow/list-data-type.rb
|
219
222
|
- lib/arrow/loader.rb
|
220
223
|
- lib/arrow/null-array-builder.rb
|
224
|
+
- lib/arrow/null-array.rb
|
221
225
|
- lib/arrow/path-extension.rb
|
226
|
+
- lib/arrow/raw-table-converter.rb
|
222
227
|
- lib/arrow/record-batch-builder.rb
|
223
228
|
- lib/arrow/record-batch-file-reader.rb
|
229
|
+
- lib/arrow/record-batch-iterator.rb
|
224
230
|
- lib/arrow/record-batch-stream-reader.rb
|
225
231
|
- lib/arrow/record-batch.rb
|
226
232
|
- lib/arrow/record-containable.rb
|
@@ -263,6 +269,7 @@ files:
|
|
263
269
|
- test/fixture/without-header.csv
|
264
270
|
- test/helper.rb
|
265
271
|
- test/helper/fixture.rb
|
272
|
+
- test/helper/omittable.rb
|
266
273
|
- test/raw-records/test-basic-arrays.rb
|
267
274
|
- test/raw-records/test-dense-union-array.rb
|
268
275
|
- test/raw-records/test-list-array.rb
|
@@ -286,6 +293,7 @@ files:
|
|
286
293
|
- test/test-decimal128-data-type.rb
|
287
294
|
- test/test-decimal128.rb
|
288
295
|
- test/test-dense-union-data-type.rb
|
296
|
+
- test/test-dictionary-array.rb
|
289
297
|
- test/test-dictionary-data-type.rb
|
290
298
|
- test/test-feather.rb
|
291
299
|
- test/test-field.rb
|
@@ -294,9 +302,11 @@ files:
|
|
294
302
|
- test/test-list-array-builder.rb
|
295
303
|
- test/test-list-array.rb
|
296
304
|
- test/test-list-data-type.rb
|
305
|
+
- test/test-null-array.rb
|
297
306
|
- test/test-orc.rb
|
298
307
|
- test/test-record-batch-builder.rb
|
299
308
|
- test/test-record-batch-file-reader.rb
|
309
|
+
- test/test-record-batch-iterator.rb
|
300
310
|
- test/test-record-batch.rb
|
301
311
|
- test/test-rolling-window.rb
|
302
312
|
- test/test-schema.rb
|
@@ -323,8 +333,8 @@ homepage: https://arrow.apache.org/
|
|
323
333
|
licenses:
|
324
334
|
- Apache-2.0
|
325
335
|
metadata:
|
326
|
-
msys2_mingw_dependencies: arrow
|
327
|
-
post_install_message:
|
336
|
+
msys2_mingw_dependencies: arrow>=1.0.1
|
337
|
+
post_install_message:
|
328
338
|
rdoc_options: []
|
329
339
|
require_paths:
|
330
340
|
- lib
|
@@ -339,8 +349,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
349
|
- !ruby/object:Gem::Version
|
340
350
|
version: '0'
|
341
351
|
requirements: []
|
342
|
-
rubygems_version: 3.
|
343
|
-
signing_key:
|
352
|
+
rubygems_version: 3.1.2
|
353
|
+
signing_key:
|
344
354
|
specification_version: 4
|
345
355
|
summary: Red Arrow is the Ruby bindings of Apache Arrow
|
346
356
|
test_files:
|
@@ -353,6 +363,7 @@ test_files:
|
|
353
363
|
- test/test-decimal128.rb
|
354
364
|
- test/test-chunked-array.rb
|
355
365
|
- test/test-array.rb
|
366
|
+
- test/test-null-array.rb
|
356
367
|
- test/test-struct-array-builder.rb
|
357
368
|
- test/test-table.rb
|
358
369
|
- test/test-decimal128-data-type.rb
|
@@ -402,12 +413,15 @@ test_files:
|
|
402
413
|
- test/test-column.rb
|
403
414
|
- test/test-bigdecimal.rb
|
404
415
|
- test/test-sparse-union-data-type.rb
|
416
|
+
- test/test-dictionary-array.rb
|
405
417
|
- test/test-tensor.rb
|
406
418
|
- test/test-time32-array.rb
|
407
419
|
- test/test-buffer.rb
|
408
420
|
- test/test-decimal128-array.rb
|
421
|
+
- test/helper/omittable.rb
|
409
422
|
- test/helper/fixture.rb
|
410
423
|
- test/test-dictionary-data-type.rb
|
411
424
|
- test/test-date32-array.rb
|
412
425
|
- test/test-field.rb
|
426
|
+
- test/test-record-batch-iterator.rb
|
413
427
|
- test/test-struct-array.rb
|