red-arrow 21.0.0 → 22.0.0
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 +4 -4
- data/lib/arrow/array-statistics.rb +32 -0
- data/lib/arrow/libraries.rb +1 -0
- data/lib/arrow/ruby.rb +0 -1
- data/lib/arrow/timestamp-array-builder.rb +1 -1
- data/lib/arrow/version.rb +1 -1
- metadata +18 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae7465055f36320c48284183aecfd96123b7f8bf38624fb666f733eb2a74e69f
|
|
4
|
+
data.tar.gz: 88f7d6849a9ff3f4ca016130ac6599cd1e9a14178127fe1cf6c240ae067d3d30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e584fc27a4a955e94ba4316248078a3bac66711403cccda44823d236cc65f6d9c70fd8c9495ec3da85e7b29ee68bcb4e51fbbb675d950232cbb73ed64addbbd
|
|
7
|
+
data.tar.gz: 9b807446da0b8a5536a20bf5d662036e6d0fb4f1e5594c31527dc59b06dada081196229d4171cc481e3138bf361f5e09ed62655b9267c96b1dac935c99295054
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
module Arrow
|
|
19
|
+
class ArrayStatistics
|
|
20
|
+
if method_defined?(:distinct_count_exact)
|
|
21
|
+
alias_method :distinct_count_raw, :distinct_count
|
|
22
|
+
def distinct_count
|
|
23
|
+
return nil unless has_distinct_count?
|
|
24
|
+
if distinct_count_exact?
|
|
25
|
+
distinct_count_exact
|
|
26
|
+
else
|
|
27
|
+
distinct_count_approximate
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
data/lib/arrow/libraries.rb
CHANGED
|
@@ -28,6 +28,7 @@ require_relative "aggregate-node-options"
|
|
|
28
28
|
require_relative "aggregation"
|
|
29
29
|
require_relative "array"
|
|
30
30
|
require_relative "array-builder"
|
|
31
|
+
require_relative "array-statistics"
|
|
31
32
|
require_relative "bigdecimal-extension"
|
|
32
33
|
require_relative "binary-dictionary-array-builder"
|
|
33
34
|
require_relative "buffer"
|
data/lib/arrow/ruby.rb
CHANGED
data/lib/arrow/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: red-arrow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 22.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Apache Arrow Developers
|
|
@@ -109,6 +109,7 @@ files:
|
|
|
109
109
|
- lib/arrow/aggregation.rb
|
|
110
110
|
- lib/arrow/array-builder.rb
|
|
111
111
|
- lib/arrow/array-computable.rb
|
|
112
|
+
- lib/arrow/array-statistics.rb
|
|
112
113
|
- lib/arrow/array.rb
|
|
113
114
|
- lib/arrow/bigdecimal-extension.rb
|
|
114
115
|
- lib/arrow/binary-dictionary-array-builder.rb
|
|
@@ -245,7 +246,7 @@ homepage: https://arrow.apache.org/
|
|
|
245
246
|
licenses:
|
|
246
247
|
- Apache-2.0
|
|
247
248
|
metadata:
|
|
248
|
-
msys2_mingw_dependencies: arrow>=
|
|
249
|
+
msys2_mingw_dependencies: arrow>=22.0.0
|
|
249
250
|
rdoc_options: []
|
|
250
251
|
require_paths:
|
|
251
252
|
- lib
|
|
@@ -260,21 +261,21 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
260
261
|
- !ruby/object:Gem::Version
|
|
261
262
|
version: '0'
|
|
262
263
|
requirements:
|
|
263
|
-
- 'system: arrow-glib>=
|
|
264
|
-
- 'system: arrow-glib>=
|
|
265
|
-
- 'system: arrow-glib>=
|
|
266
|
-
- 'system: arrow-glib>=
|
|
267
|
-
- 'system: arrow-glib>=
|
|
268
|
-
- 'system: arrow-glib>=
|
|
269
|
-
- 'system: arrow-glib>=
|
|
270
|
-
- 'system: arrow-glib>=
|
|
271
|
-
- 'system: arrow-glib>=
|
|
272
|
-
- 'system: arrow-glib>=
|
|
273
|
-
- 'system: arrow-glib>=
|
|
274
|
-
- 'system: arrow-glib>=
|
|
275
|
-
- 'system: arrow-glib>=
|
|
276
|
-
- 'system: arrow-glib>=
|
|
277
|
-
rubygems_version:
|
|
264
|
+
- 'system: arrow-glib>=22.0.0: amazon_linux: arrow-glib-devel'
|
|
265
|
+
- 'system: arrow-glib>=22.0.0: amazon_linux: https://packages.apache.org/artifactory/arrow/amazon-linux/%{version}/apache-arrow-release-latest.rpm'
|
|
266
|
+
- 'system: arrow-glib>=22.0.0: amazon_linux: arrow-glib-devel'
|
|
267
|
+
- 'system: arrow-glib>=22.0.0: centos: arrow-glib-devel'
|
|
268
|
+
- 'system: arrow-glib>=22.0.0: centos: https://packages.apache.org/artifactory/arrow/centos/%{major_version}-stream/apache-arrow-release-latest.rpm'
|
|
269
|
+
- 'system: arrow-glib>=22.0.0: centos: arrow-glib-devel'
|
|
270
|
+
- 'system: arrow-glib>=22.0.0: conda: arrow-c-glib'
|
|
271
|
+
- 'system: arrow-glib>=22.0.0: debian: libarrow-glib-dev'
|
|
272
|
+
- 'system: arrow-glib>=22.0.0: debian: https://packages.apache.org/artifactory/arrow/%{distribution}/apache-arrow-apt-source-latest-%{code_name}.deb'
|
|
273
|
+
- 'system: arrow-glib>=22.0.0: debian: libarrow-glib-dev'
|
|
274
|
+
- 'system: arrow-glib>=22.0.0: fedora: libarrow-glib-devel'
|
|
275
|
+
- 'system: arrow-glib>=22.0.0: rhel: arrow-glib-devel'
|
|
276
|
+
- 'system: arrow-glib>=22.0.0: rhel: https://packages.apache.org/artifactory/arrow/almalinux/%{major_version}/apache-arrow-release-latest.rpm'
|
|
277
|
+
- 'system: arrow-glib>=22.0.0: rhel: arrow-glib-devel'
|
|
278
|
+
rubygems_version: 4.0.0.dev
|
|
278
279
|
specification_version: 4
|
|
279
280
|
summary: Red Arrow is the Ruby bindings of Apache Arrow
|
|
280
281
|
test_files: []
|