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.
Files changed (77) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +14 -11
  3. data/{doc/text/apache-2.0.txt → LICENSE.txt} +0 -0
  4. data/NOTICE.txt +2 -0
  5. data/README.md +27 -30
  6. data/Rakefile +15 -21
  7. data/dependency-check/Rakefile +15 -12
  8. data/doc/text/development.md +19 -0
  9. data/lib/arrow.rb +14 -11
  10. data/lib/arrow/array-builder.rb +55 -55
  11. data/lib/arrow/array.rb +15 -11
  12. data/lib/arrow/block-closable.rb +14 -11
  13. data/lib/arrow/chunked-array.rb +15 -11
  14. data/lib/arrow/column.rb +14 -11
  15. data/lib/arrow/csv-loader.rb +49 -20
  16. data/lib/arrow/csv-reader.rb +14 -11
  17. data/lib/arrow/date32-array-builder.rb +14 -11
  18. data/lib/arrow/date32-array.rb +14 -11
  19. data/lib/arrow/date64-array-builder.rb +15 -12
  20. data/lib/arrow/date64-array.rb +14 -11
  21. data/lib/arrow/field.rb +14 -11
  22. data/lib/arrow/group.rb +55 -13
  23. data/lib/arrow/loader.rb +16 -15
  24. data/lib/arrow/record-batch-file-reader.rb +14 -11
  25. data/lib/arrow/record-batch-stream-reader.rb +14 -11
  26. data/lib/arrow/record-batch.rb +14 -11
  27. data/lib/arrow/record-containable.rb +14 -11
  28. data/lib/arrow/record.rb +14 -11
  29. data/lib/arrow/rolling-window.rb +48 -0
  30. data/lib/arrow/slicer.rb +20 -14
  31. data/lib/arrow/struct-array.rb +24 -0
  32. data/lib/arrow/table-formatter.rb +15 -11
  33. data/lib/arrow/table-list-formatter.rb +15 -11
  34. data/lib/arrow/table-loader.rb +24 -11
  35. data/lib/arrow/table-saver.rb +14 -11
  36. data/lib/arrow/table-table-formatter.rb +15 -11
  37. data/lib/arrow/table.rb +48 -17
  38. data/lib/arrow/tensor.rb +14 -11
  39. data/lib/arrow/timestamp-array-builder.rb +16 -29
  40. data/lib/arrow/timestamp-array.rb +15 -30
  41. data/lib/arrow/version.rb +23 -12
  42. data/red-arrow.gemspec +30 -30
  43. data/test/fixture/TestOrcFile.test1.orc +0 -0
  44. data/test/fixture/float-integer.csv +20 -0
  45. data/test/fixture/integer-float.csv +20 -0
  46. data/test/fixture/null-with-double-quote.csv +16 -0
  47. data/test/fixture/null-without-double-quote.csv +16 -0
  48. data/test/fixture/with-header-float.csv +20 -0
  49. data/test/fixture/with-header.csv +16 -0
  50. data/test/fixture/without-header-float.csv +19 -0
  51. data/test/fixture/without-header.csv +16 -0
  52. data/test/helper.rb +16 -11
  53. data/test/helper/fixture.rb +14 -11
  54. data/test/run-test.rb +17 -12
  55. data/test/test-array-builder.rb +14 -11
  56. data/test/test-array.rb +14 -11
  57. data/test/test-chunked-array.rb +14 -11
  58. data/test/test-column.rb +14 -11
  59. data/test/test-csv-loader.rb +68 -49
  60. data/test/test-csv-reader.rb +17 -12
  61. data/test/test-date32-array.rb +14 -11
  62. data/test/test-date64-array.rb +14 -11
  63. data/test/test-group.rb +56 -11
  64. data/test/test-orc.rb +177 -0
  65. data/test/test-record-batch-file-reader.rb +14 -11
  66. data/test/test-record-batch.rb +14 -11
  67. data/test/test-rolling-window.rb +40 -0
  68. data/test/test-slicer.rb +14 -11
  69. data/test/test-struct-array.rb +36 -0
  70. data/test/test-table.rb +50 -22
  71. data/test/test-timestamp-array.rb +14 -11
  72. metadata +42 -57
  73. data/.yardopts +0 -6
  74. data/doc/text/news.md +0 -176
  75. data/lib/arrow/buffer.rb +0 -24
  76. data/lib/arrow/compatibility.rb +0 -28
  77. data/lib/arrow/data-type.rb +0 -81
@@ -1,16 +1,19 @@
1
- # Copyright 2017-2018 Kouhei Sutou <kou@clear-code.com>
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
- # Licensed under the Apache License, Version 2.0 (the "License");
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
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
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
@@ -1,16 +1,19 @@
1
- # Copyright 2017-2018 Kouhei Sutou <kou@clear-code.com>
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
- # Licensed under the Apache License, Version 2.0 (the "License");
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
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
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([0, 2]).to_s)
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([-4, 2]).to_s)
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
- test("Integer, Range, ...") do
126
- assert_equal(<<-TABLE, @table.slice(0, 4...7).to_s)
127
- count visible
128
- 0 1 true
129
- 1 16 true
130
- 2 32 false
131
- 3 64
132
- TABLE
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
- # Copyright 2017 Kouhei Sutou <kou@clear-code.com>
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
- # Licensed under the Apache License, Version 2.0 (the "License");
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
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
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.8.2
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
- - Kouhei Sutou
7
+ - Apache Arrow Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-04 00:00:00.000000000 Z
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
- - !ruby/object:Gem::Dependency
98
- name: packnga
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
- - kou@clear-code.com
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://github.com/red-data-tools/red-arrow
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: 2.5.2.2
197
+ rubygems_version: 3.0.0.beta1
220
198
  signing_key:
221
199
  specification_version: 4
222
- summary: Red Arrow is a Ruby bindings of Apache Arrow. Red Arrow is based on GObject
223
- Introspection.
200
+ summary: Red Arrow is the Ruby bindings of Apache Arrow
224
201
  test_files:
225
- - test/test-record-batch-file-reader.rb
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/test-csv-reader.rb
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-date64-array.rb
245
- - test/test-slicer.rb
230
+ - test/run-test.rb
data/.yardopts DELETED
@@ -1,6 +0,0 @@
1
- --output-dir doc/reference/en
2
- --markup markdown
3
- --markup-provider kramdown
4
- lib/**/*.rb
5
- -
6
- doc/text/**/*
@@ -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!!!