red-arrow 0.8.2 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +14 -11
- data/{doc/text/apache-2.0.txt → LICENSE.txt} +0 -0
- data/NOTICE.txt +2 -0
- data/README.md +27 -30
- data/Rakefile +15 -21
- data/dependency-check/Rakefile +15 -12
- data/doc/text/development.md +19 -0
- data/lib/arrow.rb +14 -11
- data/lib/arrow/array-builder.rb +55 -55
- data/lib/arrow/array.rb +15 -11
- data/lib/arrow/block-closable.rb +14 -11
- data/lib/arrow/chunked-array.rb +15 -11
- data/lib/arrow/column.rb +14 -11
- data/lib/arrow/csv-loader.rb +49 -20
- data/lib/arrow/csv-reader.rb +14 -11
- data/lib/arrow/date32-array-builder.rb +14 -11
- data/lib/arrow/date32-array.rb +14 -11
- data/lib/arrow/date64-array-builder.rb +15 -12
- data/lib/arrow/date64-array.rb +14 -11
- data/lib/arrow/field.rb +14 -11
- data/lib/arrow/group.rb +55 -13
- data/lib/arrow/loader.rb +16 -15
- data/lib/arrow/record-batch-file-reader.rb +14 -11
- data/lib/arrow/record-batch-stream-reader.rb +14 -11
- data/lib/arrow/record-batch.rb +14 -11
- data/lib/arrow/record-containable.rb +14 -11
- data/lib/arrow/record.rb +14 -11
- data/lib/arrow/rolling-window.rb +48 -0
- data/lib/arrow/slicer.rb +20 -14
- data/lib/arrow/struct-array.rb +24 -0
- data/lib/arrow/table-formatter.rb +15 -11
- data/lib/arrow/table-list-formatter.rb +15 -11
- data/lib/arrow/table-loader.rb +24 -11
- data/lib/arrow/table-saver.rb +14 -11
- data/lib/arrow/table-table-formatter.rb +15 -11
- data/lib/arrow/table.rb +48 -17
- data/lib/arrow/tensor.rb +14 -11
- data/lib/arrow/timestamp-array-builder.rb +16 -29
- data/lib/arrow/timestamp-array.rb +15 -30
- data/lib/arrow/version.rb +23 -12
- data/red-arrow.gemspec +30 -30
- data/test/fixture/TestOrcFile.test1.orc +0 -0
- data/test/fixture/float-integer.csv +20 -0
- data/test/fixture/integer-float.csv +20 -0
- data/test/fixture/null-with-double-quote.csv +16 -0
- data/test/fixture/null-without-double-quote.csv +16 -0
- data/test/fixture/with-header-float.csv +20 -0
- data/test/fixture/with-header.csv +16 -0
- data/test/fixture/without-header-float.csv +19 -0
- data/test/fixture/without-header.csv +16 -0
- data/test/helper.rb +16 -11
- data/test/helper/fixture.rb +14 -11
- data/test/run-test.rb +17 -12
- data/test/test-array-builder.rb +14 -11
- data/test/test-array.rb +14 -11
- data/test/test-chunked-array.rb +14 -11
- data/test/test-column.rb +14 -11
- data/test/test-csv-loader.rb +68 -49
- data/test/test-csv-reader.rb +17 -12
- data/test/test-date32-array.rb +14 -11
- data/test/test-date64-array.rb +14 -11
- data/test/test-group.rb +56 -11
- data/test/test-orc.rb +177 -0
- data/test/test-record-batch-file-reader.rb +14 -11
- data/test/test-record-batch.rb +14 -11
- data/test/test-rolling-window.rb +40 -0
- data/test/test-slicer.rb +14 -11
- data/test/test-struct-array.rb +36 -0
- data/test/test-table.rb +50 -22
- data/test/test-timestamp-array.rb +14 -11
- metadata +42 -57
- data/.yardopts +0 -6
- data/doc/text/news.md +0 -176
- data/lib/arrow/buffer.rb +0 -24
- data/lib/arrow/compatibility.rb +0 -28
- data/lib/arrow/data-type.rb +0 -81
data/test/test-slicer.rb
CHANGED
@@ -1,16 +1,19 @@
|
|
1
|
-
#
|
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
|
2
8
|
#
|
3
|
-
#
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
6
10
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
# limitations under the License.
|
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.
|
14
17
|
|
15
18
|
class SlicerTest < Test::Unit::TestCase
|
16
19
|
def setup
|
@@ -0,0 +1,36 @@
|
|
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 StructArrayTest < Test::Unit::TestCase
|
19
|
+
test("#[]") do
|
20
|
+
type = Arrow::StructDataType.new([
|
21
|
+
Arrow::Field.new("field1", :boolean),
|
22
|
+
Arrow::Field.new("field2", :uint64),
|
23
|
+
])
|
24
|
+
builder = Arrow::StructArrayBuilder.new(type)
|
25
|
+
builder.append
|
26
|
+
builder.get_field_builder(0).append(true)
|
27
|
+
builder.get_field_builder(1).append(1)
|
28
|
+
builder.append
|
29
|
+
builder.get_field_builder(0).append(false)
|
30
|
+
builder.get_field_builder(1).append(2)
|
31
|
+
array = builder.finish
|
32
|
+
|
33
|
+
assert_equal([[true, false], [1, 2]],
|
34
|
+
[array[0].to_a, array[1].to_a])
|
35
|
+
end
|
36
|
+
end
|
data/test/test-table.rb
CHANGED
@@ -1,16 +1,19 @@
|
|
1
|
-
#
|
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
|
2
8
|
#
|
3
|
-
#
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
6
10
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
# limitations under the License.
|
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.
|
14
17
|
|
15
18
|
class TableTest < Test::Unit::TestCase
|
16
19
|
include Helper::Fixture
|
@@ -58,6 +61,18 @@ class TableTest < Test::Unit::TestCase
|
|
58
61
|
TABLE
|
59
62
|
end
|
60
63
|
|
64
|
+
test("Array: boolean") do
|
65
|
+
target_rows_raw = [nil, true, true, false, true, false, true, true]
|
66
|
+
assert_equal(<<-TABLE, @table.slice(target_rows_raw).to_s)
|
67
|
+
count visible
|
68
|
+
0 2 false
|
69
|
+
1 4
|
70
|
+
2 16 true
|
71
|
+
3 64
|
72
|
+
4 128
|
73
|
+
TABLE
|
74
|
+
end
|
75
|
+
|
61
76
|
test("Integer: positive") do
|
62
77
|
assert_equal(<<-TABLE, @table.slice(2).to_s)
|
63
78
|
count visible
|
@@ -107,7 +122,7 @@ class TableTest < Test::Unit::TestCase
|
|
107
122
|
end
|
108
123
|
|
109
124
|
test("[from, to]: positive") do
|
110
|
-
assert_equal(<<-TABLE, @table.slice(
|
125
|
+
assert_equal(<<-TABLE, @table.slice(0, 2).to_s)
|
111
126
|
count visible
|
112
127
|
0 1 true
|
113
128
|
1 2 false
|
@@ -115,21 +130,34 @@ class TableTest < Test::Unit::TestCase
|
|
115
130
|
end
|
116
131
|
|
117
132
|
test("[from, to]: negative") do
|
118
|
-
assert_equal(<<-TABLE, @table.slice(
|
133
|
+
assert_equal(<<-TABLE, @table.slice(-4, 2).to_s)
|
119
134
|
count visible
|
120
135
|
0 16 true
|
121
136
|
1 32 false
|
122
137
|
TABLE
|
123
138
|
end
|
124
139
|
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
140
|
+
sub_test_case("wrong argument") do
|
141
|
+
test("no arguments") do
|
142
|
+
message = "wrong number of arguments (given 0, expected 1..2)"
|
143
|
+
assert_raise(ArgumentError.new(message)) do
|
144
|
+
@table.slice
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
test("too many arguments: with block") do
|
149
|
+
message = "wrong number of arguments (given 3, expected 1..2)"
|
150
|
+
assert_raise(ArgumentError.new(message)) do
|
151
|
+
@table.slice(1, 2, 3)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
test("too many arguments: without block") do
|
156
|
+
message = "wrong number of arguments (given 3, expected 0..2)"
|
157
|
+
assert_raise(ArgumentError.new(message)) do
|
158
|
+
@table.slice(1, 2, 3) {}
|
159
|
+
end
|
160
|
+
end
|
133
161
|
end
|
134
162
|
end
|
135
163
|
|
@@ -407,7 +435,7 @@ class TableTest < Test::Unit::TestCase
|
|
407
435
|
|
408
436
|
test(":csv") do
|
409
437
|
path = fixture_path("with-header.csv")
|
410
|
-
assert_equal(<<-TABLE, Arrow::Table.load(path).to_s)
|
438
|
+
assert_equal(<<-TABLE, Arrow::Table.load(path, skip_lines: /^#/).to_s)
|
411
439
|
name score
|
412
440
|
0 alice 10
|
413
441
|
1 bob 29
|
@@ -1,16 +1,19 @@
|
|
1
|
-
#
|
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
|
2
8
|
#
|
3
|
-
#
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
6
10
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
# limitations under the License.
|
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.
|
14
17
|
|
15
18
|
class TimestampArrayTest < Test::Unit::TestCase
|
16
19
|
test("#[]") do
|
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: 0.10.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: 2018-
|
11
|
+
date: 2018-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gobject-introspection
|
@@ -94,63 +94,31 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
-
-
|
98
|
-
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: kramdown
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
description: "[Apache Arrow](https://arrow.apache.org/) is an in-memory columnar data
|
126
|
-
store. It's used by many products for data analytics."
|
97
|
+
description: Apache Arrow is a common in-memory columnar data store. It's useful to
|
98
|
+
share and process large data.
|
127
99
|
email:
|
128
|
-
-
|
100
|
+
- dev@arrow.apache.org
|
129
101
|
executables: []
|
130
102
|
extensions:
|
131
103
|
- dependency-check/Rakefile
|
132
104
|
extra_rdoc_files: []
|
133
105
|
files:
|
134
|
-
- ".yardopts"
|
135
106
|
- Gemfile
|
107
|
+
- LICENSE.txt
|
108
|
+
- NOTICE.txt
|
136
109
|
- README.md
|
137
110
|
- Rakefile
|
138
111
|
- dependency-check/Rakefile
|
139
|
-
- doc/text/apache-2.0.txt
|
140
112
|
- doc/text/development.md
|
141
|
-
- doc/text/news.md
|
142
113
|
- image/red-arrow.png
|
143
114
|
- lib/arrow.rb
|
144
115
|
- lib/arrow/array-builder.rb
|
145
116
|
- lib/arrow/array.rb
|
146
117
|
- lib/arrow/block-closable.rb
|
147
|
-
- lib/arrow/buffer.rb
|
148
118
|
- lib/arrow/chunked-array.rb
|
149
119
|
- lib/arrow/column.rb
|
150
|
-
- lib/arrow/compatibility.rb
|
151
120
|
- lib/arrow/csv-loader.rb
|
152
121
|
- lib/arrow/csv-reader.rb
|
153
|
-
- lib/arrow/data-type.rb
|
154
122
|
- lib/arrow/date32-array-builder.rb
|
155
123
|
- lib/arrow/date32-array.rb
|
156
124
|
- lib/arrow/date64-array-builder.rb
|
@@ -163,7 +131,9 @@ files:
|
|
163
131
|
- lib/arrow/record-batch.rb
|
164
132
|
- lib/arrow/record-containable.rb
|
165
133
|
- lib/arrow/record.rb
|
134
|
+
- lib/arrow/rolling-window.rb
|
166
135
|
- lib/arrow/slicer.rb
|
136
|
+
- lib/arrow/struct-array.rb
|
167
137
|
- lib/arrow/table-formatter.rb
|
168
138
|
- lib/arrow/table-list-formatter.rb
|
169
139
|
- lib/arrow/table-loader.rb
|
@@ -175,9 +145,14 @@ files:
|
|
175
145
|
- lib/arrow/timestamp-array.rb
|
176
146
|
- lib/arrow/version.rb
|
177
147
|
- red-arrow.gemspec
|
148
|
+
- test/fixture/TestOrcFile.test1.orc
|
149
|
+
- test/fixture/float-integer.csv
|
150
|
+
- test/fixture/integer-float.csv
|
178
151
|
- test/fixture/null-with-double-quote.csv
|
179
152
|
- test/fixture/null-without-double-quote.csv
|
153
|
+
- test/fixture/with-header-float.csv
|
180
154
|
- test/fixture/with-header.csv
|
155
|
+
- test/fixture/without-header-float.csv
|
181
156
|
- test/fixture/without-header.csv
|
182
157
|
- test/helper.rb
|
183
158
|
- test/helper/fixture.rb
|
@@ -191,12 +166,15 @@ files:
|
|
191
166
|
- test/test-date32-array.rb
|
192
167
|
- test/test-date64-array.rb
|
193
168
|
- test/test-group.rb
|
169
|
+
- test/test-orc.rb
|
194
170
|
- test/test-record-batch-file-reader.rb
|
195
171
|
- test/test-record-batch.rb
|
172
|
+
- test/test-rolling-window.rb
|
196
173
|
- test/test-slicer.rb
|
174
|
+
- test/test-struct-array.rb
|
197
175
|
- test/test-table.rb
|
198
176
|
- test/test-timestamp-array.rb
|
199
|
-
homepage: https://
|
177
|
+
homepage: https://arrow.apache.org/
|
200
178
|
licenses:
|
201
179
|
- Apache-2.0
|
202
180
|
metadata: {}
|
@@ -216,30 +194,37 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
194
|
version: '0'
|
217
195
|
requirements: []
|
218
196
|
rubyforge_project:
|
219
|
-
rubygems_version:
|
197
|
+
rubygems_version: 3.0.0.beta1
|
220
198
|
signing_key:
|
221
199
|
specification_version: 4
|
222
|
-
summary: Red Arrow is
|
223
|
-
Introspection.
|
200
|
+
summary: Red Arrow is the Ruby bindings of Apache Arrow
|
224
201
|
test_files:
|
225
|
-
- test/test-
|
202
|
+
- test/test-date64-array.rb
|
203
|
+
- test/test-csv-loader.rb
|
204
|
+
- test/test-array.rb
|
205
|
+
- test/test-chunked-array.rb
|
206
|
+
- test/test-csv-reader.rb
|
207
|
+
- test/fixture/float-integer.csv
|
208
|
+
- test/fixture/without-header.csv
|
209
|
+
- test/fixture/TestOrcFile.test1.orc
|
226
210
|
- test/fixture/with-header.csv
|
211
|
+
- test/fixture/without-header-float.csv
|
212
|
+
- test/fixture/integer-float.csv
|
227
213
|
- test/fixture/null-without-double-quote.csv
|
228
|
-
- test/fixture/without-header.csv
|
229
214
|
- test/fixture/null-with-double-quote.csv
|
230
|
-
- test/
|
215
|
+
- test/fixture/with-header-float.csv
|
216
|
+
- test/test-slicer.rb
|
217
|
+
- test/test-timestamp-array.rb
|
218
|
+
- test/test-orc.rb
|
219
|
+
- test/test-rolling-window.rb
|
231
220
|
- test/test-column.rb
|
221
|
+
- test/test-table.rb
|
232
222
|
- test/test-array-builder.rb
|
233
|
-
- test/test-chunked-array.rb
|
234
|
-
- test/test-date32-array.rb
|
235
223
|
- test/test-record-batch.rb
|
236
|
-
- test/helper.rb
|
237
|
-
- test/run-test.rb
|
238
|
-
- test/test-timestamp-array.rb
|
239
|
-
- test/test-table.rb
|
240
|
-
- test/test-csv-loader.rb
|
241
|
-
- test/test-array.rb
|
242
224
|
- test/test-group.rb
|
225
|
+
- test/helper.rb
|
226
|
+
- test/test-record-batch-file-reader.rb
|
227
|
+
- test/test-struct-array.rb
|
228
|
+
- test/test-date32-array.rb
|
243
229
|
- test/helper/fixture.rb
|
244
|
-
- test/test
|
245
|
-
- test/test-slicer.rb
|
230
|
+
- test/run-test.rb
|
data/.yardopts
DELETED
data/doc/text/news.md
DELETED
@@ -1,176 +0,0 @@
|
|
1
|
-
# News
|
2
|
-
|
3
|
-
## 0.8.2 - 2018-02-04
|
4
|
-
|
5
|
-
### Improvements
|
6
|
-
|
7
|
-
* `Arrow::Table#size`: Added.
|
8
|
-
|
9
|
-
* `Arrow::Table#length`: Added.
|
10
|
-
|
11
|
-
* `Arrow::Table#pack`: Added.
|
12
|
-
|
13
|
-
* `Arrow::Column#pack`: Added.
|
14
|
-
|
15
|
-
* `Arrow::ChunkedArray#pack`: Added.
|
16
|
-
|
17
|
-
* `Arrow::Column#reverse_each`: Added.
|
18
|
-
|
19
|
-
* `Arrow::Table#slice`: Added negative integer support.
|
20
|
-
|
21
|
-
* `Arrow::Slicer::ColumnCondition#in?`: Added.
|
22
|
-
|
23
|
-
* `Arrow::Table#group`: Added.
|
24
|
-
|
25
|
-
* `Arrow::ChunkedArray#null?`: Added.
|
26
|
-
|
27
|
-
* `Arrow::Column#null?`: Added.
|
28
|
-
|
29
|
-
* `Arrow::Group`: Added.
|
30
|
-
|
31
|
-
* `Arrow::CSVLoader`: Changed to treat `""` as a null value instead
|
32
|
-
of empty string.
|
33
|
-
|
34
|
-
* `Arrow::Table#[]`: Stopped to accept multiple column name.
|
35
|
-
|
36
|
-
* `Arrow::ChunkedArray#valid?`: Added.
|
37
|
-
|
38
|
-
* `Arrow::Column#valid?`: Added.
|
39
|
-
|
40
|
-
* `Arrow::Slicer::ColumnCondition#valid?`: Added.
|
41
|
-
|
42
|
-
### Fixes
|
43
|
-
|
44
|
-
* `Arrow::TableFormatter`: Fixed a bug that too much records are
|
45
|
-
formatted.
|
46
|
-
|
47
|
-
## 0.8.1 - 2018-01-05
|
48
|
-
|
49
|
-
### Improvements
|
50
|
-
|
51
|
-
* `Arrow::ArrayBuilder.build`: Added generic array build support.
|
52
|
-
|
53
|
-
* `Arrow::Table#save`: Added.
|
54
|
-
|
55
|
-
* `Arrow::Table.load`: Added.
|
56
|
-
|
57
|
-
* `Arrow::CSVLoader`: Added.
|
58
|
-
|
59
|
-
* `Arrow::CSVReader.read`: Removed.
|
60
|
-
|
61
|
-
## 0.8.0 - 2018-01-04
|
62
|
-
|
63
|
-
### Improvements
|
64
|
-
|
65
|
-
* Required Apache Arrow 0.8.0.
|
66
|
-
|
67
|
-
* Update README. [GitHub#5][Patch by mikisou]
|
68
|
-
|
69
|
-
* `Arrow::Table#each_record_batch`: Added.
|
70
|
-
|
71
|
-
* `Arrow::ArrayBuilder#build`: Added.
|
72
|
-
|
73
|
-
* `Arrow::CSVReader`: Added.
|
74
|
-
|
75
|
-
* `Arrow::Array#[]`: Added `NULL` support.
|
76
|
-
|
77
|
-
* `Arrow::TimestampArray`: Added.
|
78
|
-
|
79
|
-
* `Arrow::Table#to_s`: Added table style format.
|
80
|
-
|
81
|
-
* `Arrow::Table#slice`: Added.
|
82
|
-
|
83
|
-
* `Arrow::Table#[]`: Added.
|
84
|
-
|
85
|
-
* `Arrow::Table`: Added dynamic column name reader.
|
86
|
-
|
87
|
-
* `Arrow::Table#merge`: Added.
|
88
|
-
|
89
|
-
* `Arrow::Table#remove_column`: Added column name support.
|
90
|
-
|
91
|
-
* `Arrow::Table#select_columns`: Added.
|
92
|
-
|
93
|
-
### Thanks
|
94
|
-
|
95
|
-
* mikisou
|
96
|
-
|
97
|
-
## 0.4.1 - 2017-09-19
|
98
|
-
|
99
|
-
### Improvements
|
100
|
-
|
101
|
-
* `Arrow::Array.new`: Improved performance.
|
102
|
-
|
103
|
-
### Fixes
|
104
|
-
|
105
|
-
* `Arrow::Buffer`: Fixed a crash on GC.
|
106
|
-
|
107
|
-
## 0.4.0 - 2017-05-18
|
108
|
-
|
109
|
-
### Improvements
|
110
|
-
|
111
|
-
* `Arrow::StringArray#[]`: Changed to return `String` instead of
|
112
|
-
`GLib::Bytes`.
|
113
|
-
|
114
|
-
## 0.3.1 - 2017-05-17
|
115
|
-
|
116
|
-
### Improvements
|
117
|
-
|
118
|
-
* `Arrow::MemoryMappedInputStream`: Renamed from
|
119
|
-
`Arrow::MemoryMappedFile`.
|
120
|
-
|
121
|
-
* `Arrow::RecordBatchStreamReader`: Renamed from
|
122
|
-
`Arrow::StreamReader`.
|
123
|
-
|
124
|
-
* `Arrow::RecordBatchFileReader`: Renamed from
|
125
|
-
`Arrow::FileReader`.
|
126
|
-
|
127
|
-
* `Arrow::RecordBatchStreamWriter`: Renamed from
|
128
|
-
`Arrow::StreamWriter`.
|
129
|
-
|
130
|
-
* `Arrow::RecordBatchFileWriter`: Renamed from
|
131
|
-
`Arrow::FileWriter`.
|
132
|
-
|
133
|
-
* `Arrow::Column#each`: Added.
|
134
|
-
|
135
|
-
* `Arrow::ChunkedColumn#each`: Added.
|
136
|
-
|
137
|
-
* `Arrow::Table#columns`: Added.
|
138
|
-
|
139
|
-
* `Arrow::Table#each_column`: Added.
|
140
|
-
|
141
|
-
* Supported auto native package install on install.
|
142
|
-
|
143
|
-
## 0.3.0 - 2017-05-06
|
144
|
-
|
145
|
-
### Improvements
|
146
|
-
|
147
|
-
* `Arrow::Record#to_h`: Added.
|
148
|
-
|
149
|
-
* `#to_arrow`: Added convenience methods for polymorphism.
|
150
|
-
|
151
|
-
* Supported Apache Arrow 0.3.0.
|
152
|
-
|
153
|
-
## 0.2.2 - 2017-04-24
|
154
|
-
|
155
|
-
### Improvements
|
156
|
-
|
157
|
-
* `Arrow::RecordBatch#each`: Supported reusing record object for
|
158
|
-
performance.
|
159
|
-
|
160
|
-
* ``Arrow::IO`: Unified into `Arrow`.
|
161
|
-
|
162
|
-
* ``Arrow::IPC`: Unified into `Arrow`.
|
163
|
-
|
164
|
-
## 0.2.1 - 2017-03-23
|
165
|
-
|
166
|
-
### Improvements
|
167
|
-
|
168
|
-
* Added `Arrow::IPC::FileReader#each`.
|
169
|
-
|
170
|
-
### Fixes
|
171
|
-
|
172
|
-
* Fixed a bug that `Arrow::Record#[]` doesn't work.
|
173
|
-
|
174
|
-
## 0.2.0 - 2017-03-14
|
175
|
-
|
176
|
-
Initial release!!!
|