red-parquet 6.0.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 922bbbc41f50c23a1c0d5e83f5bca4a60f2cfbb630314de20428f15be55028c4
4
- data.tar.gz: e9c420e4552dd961833fb1be54dfc41cef2346c029ac5919f82624e967f81e9f
3
+ metadata.gz: ead84edca096ec5c2038c9b5702d9f354b58bd4818a9ccd3658dcb82c9d7c40b
4
+ data.tar.gz: 7c94d6889171647d5f9bc3600a335e391d67c881e21de7f9ffbf450accf77bf3
5
5
  SHA512:
6
- metadata.gz: 6a15862c75c6c6a763507a377a6b639a0fa27dc6e901da2b91edfaa34ad2c491537db917fefb69527dcc60aa2a2b6cb127cbeb4515e4c0dc1bdc499024402ede
7
- data.tar.gz: be8c6a9b0a9ceaeb08b01cded8194d6b283b0805bdbd58528f8f9de58b75151fdf352aa5e731dd87fd43a514bd3c7d42a4e8127cb62bbc327d6a8aa9343b50db
6
+ metadata.gz: f554d3bb6704ad11cc9fcb77359f7f5aa94f27e0f39a6b89ebc6576d188a1ba46d190b04eab98b649009a70f39611961fce5f43d426c4355219110f03f678ab6
7
+ data.tar.gz: 791d805a3ff91d99f669429a2d4e42ffd79f475ecf091498c7a034c94e9a0cc84c13ea18218156da1ead0f7049e368dcb76985c50882559b7db463280e4da5a3
@@ -19,12 +19,13 @@ module Parquet
19
19
  module ArrowTableLoadable
20
20
  private
21
21
  def load_as_parquet
22
- input = open_input_stream
23
- reader = Parquet::ArrowFileReader.new(input)
24
- reader.use_threads = (@options[:use_threads] != false)
25
- table = reader.read_table
26
- table.instance_variable_set(:@input, input)
27
- table
22
+ open_input_stream do |input|
23
+ reader = Parquet::ArrowFileReader.new(input)
24
+ reader.use_threads = (@options[:use_threads] != false)
25
+ table = reader.read_table
26
+ table.instance_variable_set(:@input, input)
27
+ table
28
+ end
28
29
  end
29
30
  end
30
31
  end
@@ -16,7 +16,7 @@
16
16
  # under the License.
17
17
 
18
18
  module Parquet
19
- VERSION = "6.0.1"
19
+ VERSION = "7.0.0"
20
20
 
21
21
  module Version
22
22
  numbers, TAG = VERSION.split("-")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: red-parquet
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 7.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: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2022-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: red-arrow
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 6.0.1
19
+ version: 7.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 6.0.1
26
+ version: 7.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubygems_version: 3.2.27
112
+ rubygems_version: 3.4.0.dev
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Red Parquet is the Ruby bindings of Apache Parquet