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 +4 -4
- data/lib/parquet/arrow-table-loadable.rb +7 -6
- data/lib/parquet/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ead84edca096ec5c2038c9b5702d9f354b58bd4818a9ccd3658dcb82c9d7c40b
|
4
|
+
data.tar.gz: 7c94d6889171647d5f9bc3600a335e391d67c881e21de7f9ffbf450accf77bf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
data/lib/parquet/version.rb
CHANGED
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:
|
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:
|
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:
|
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:
|
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.
|
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
|