parquet 0.3.3-aarch64-linux → 0.4.0-aarch64-linux

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6c51626e703b4db3f383151255ba791527302f990a6df48b1db3c5eb9277ea3
4
- data.tar.gz: 5853e129182c66de20113b10ab897a47d439e4f40fb577ecfbd71c4b75209887
3
+ metadata.gz: 4e4c8ed8bc4181e37344d0994c328d15befd6f2aba6c50643eb3a54d9bc09d15
4
+ data.tar.gz: cce1068aa4cd68e434c79c0dc0f0c974739b43b5f1cb4b6dcefb1df604f0b364
5
5
  SHA512:
6
- metadata.gz: 25dee1142039d0d3d5c8062a9e630899be3404ded29ca7d943b1a6498333be355e21ab69012a0ac1d86504e37f6fdaa1298f095eb48db457a6d523cf69a289ab
7
- data.tar.gz: 24f09a3f4f263c1c2186c59064cd1badac83b61f142e5f0ddece5e8b0a1ebfcf20191ffc335f921115fcfe91d6251457f6a78bf716abee85e7c7f9d270b5ab9d
6
+ metadata.gz: d944e44240f5867cffe343b2e2bcd5924106179b80036f8bc994544b20908c0e6aec71daeb48a2c10e5976080be5d38e94c079f0f4d7ecc726d27d7b330f5442
7
+ data.tar.gz: 9ba4018d9fd25ce129c34771d08e6bf79e2a7aed6e971561fbb3e078e9ab77ea87a018f00ccf6511a266b18539b998e4d243fa922e7089afafae45170c9aa776
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module Parquet
2
- VERSION = "0.3.3"
2
+ VERSION = "0.4.0"
3
3
  end
data/lib/parquet.rbi CHANGED
@@ -11,7 +11,8 @@ module Parquet
11
11
  params(
12
12
  input: T.any(String, File, StringIO, IO),
13
13
  result_type: T.nilable(T.any(String, Symbol)),
14
- columns: T.nilable(T::Array[String])
14
+ columns: T.nilable(T::Array[String]),
15
+ strict: T.nilable(T::Boolean)
15
16
  ).returns(T::Enumerator[T.any(T::Hash[String, T.untyped], T::Array[T.untyped])])
16
17
  end
17
18
  sig do
@@ -19,10 +20,11 @@ module Parquet
19
20
  input: T.any(String, File, StringIO, IO),
20
21
  result_type: T.nilable(T.any(String, Symbol)),
21
22
  columns: T.nilable(T::Array[String]),
23
+ strict: T.nilable(T::Boolean),
22
24
  blk: T.nilable(T.proc.params(row: T.any(T::Hash[String, T.untyped], T::Array[T.untyped])).void)
23
25
  ).returns(NilClass)
24
26
  end
25
- def self.each_row(input, result_type: nil, columns: nil, &blk)
27
+ def self.each_row(input, result_type: nil, columns: nil, strict: nil, &blk)
26
28
  end
27
29
 
28
30
  # Options:
@@ -36,7 +38,8 @@ module Parquet
36
38
  input: T.any(String, File, StringIO, IO),
37
39
  result_type: T.nilable(T.any(String, Symbol)),
38
40
  columns: T.nilable(T::Array[String]),
39
- batch_size: T.nilable(Integer)
41
+ batch_size: T.nilable(Integer),
42
+ strict: T.nilable(T::Boolean)
40
43
  ).returns(T::Enumerator[T.any(T::Hash[String, T.untyped], T::Array[T.untyped])])
41
44
  end
42
45
  sig do
@@ -45,11 +48,12 @@ module Parquet
45
48
  result_type: T.nilable(T.any(String, Symbol)),
46
49
  columns: T.nilable(T::Array[String]),
47
50
  batch_size: T.nilable(Integer),
51
+ strict: T.nilable(T::Boolean),
48
52
  blk:
49
53
  T.nilable(T.proc.params(batch: T.any(T::Hash[String, T::Array[T.untyped]], T::Array[T::Array[T.untyped]])).void)
50
54
  ).returns(NilClass)
51
55
  end
52
- def self.each_column(input, result_type: nil, columns: nil, batch_size: nil, &blk)
56
+ def self.each_column(input, result_type: nil, columns: nil, batch_size: nil, strict: nil, &blk)
53
57
  end
54
58
 
55
59
  # Options:
@@ -80,7 +84,15 @@ module Parquet
80
84
  sample_size: T.nilable(Integer)
81
85
  ).void
82
86
  end
83
- def self.write_rows(read_from, schema:, write_to:, batch_size: nil, flush_threshold: nil, compression: nil, sample_size: nil)
87
+ def self.write_rows(
88
+ read_from,
89
+ schema:,
90
+ write_to:,
91
+ batch_size: nil,
92
+ flush_threshold: nil,
93
+ compression: nil,
94
+ sample_size: nil
95
+ )
84
96
  end
85
97
 
86
98
  # Options:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parquet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Nathan Jaremko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-19 00:00:00.000000000 Z
11
+ date: 2025-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler