pyspiral 0.4.0__pp310-pypy310_pp73-macosx_10_12_x86_64.whl
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.
- pyspiral-0.4.0.dist-info/METADATA +46 -0
- pyspiral-0.4.0.dist-info/RECORD +98 -0
- pyspiral-0.4.0.dist-info/WHEEL +4 -0
- pyspiral-0.4.0.dist-info/entry_points.txt +2 -0
- spiral/__init__.py +10 -0
- spiral/_lib.pypy310-pp73-darwin.so +0 -0
- spiral/adbc.py +393 -0
- spiral/api/__init__.py +64 -0
- spiral/api/admin.py +15 -0
- spiral/api/client.py +160 -0
- spiral/api/filesystems.py +153 -0
- spiral/api/organizations.py +77 -0
- spiral/api/projects.py +197 -0
- spiral/api/telemetry.py +19 -0
- spiral/api/types.py +20 -0
- spiral/api/workloads.py +52 -0
- spiral/arrow_.py +221 -0
- spiral/cli/__init__.py +79 -0
- spiral/cli/__main__.py +4 -0
- spiral/cli/admin.py +16 -0
- spiral/cli/app.py +65 -0
- spiral/cli/console.py +95 -0
- spiral/cli/fs.py +112 -0
- spiral/cli/iceberg/__init__.py +7 -0
- spiral/cli/iceberg/namespaces.py +47 -0
- spiral/cli/iceberg/tables.py +60 -0
- spiral/cli/indexes/__init__.py +19 -0
- spiral/cli/login.py +22 -0
- spiral/cli/orgs.py +90 -0
- spiral/cli/printer.py +53 -0
- spiral/cli/projects.py +136 -0
- spiral/cli/state.py +5 -0
- spiral/cli/tables/__init__.py +121 -0
- spiral/cli/telemetry.py +18 -0
- spiral/cli/types.py +51 -0
- spiral/cli/workloads.py +59 -0
- spiral/client.py +79 -0
- spiral/core/__init__.pyi +0 -0
- spiral/core/client/__init__.pyi +117 -0
- spiral/core/index/__init__.pyi +15 -0
- spiral/core/table/__init__.pyi +108 -0
- spiral/core/table/manifests/__init__.pyi +35 -0
- spiral/core/table/metastore/__init__.pyi +62 -0
- spiral/core/table/spec/__init__.pyi +214 -0
- spiral/datetime_.py +27 -0
- spiral/expressions/__init__.py +245 -0
- spiral/expressions/base.py +149 -0
- spiral/expressions/http.py +86 -0
- spiral/expressions/io.py +100 -0
- spiral/expressions/list_.py +68 -0
- spiral/expressions/mp4.py +62 -0
- spiral/expressions/png.py +18 -0
- spiral/expressions/qoi.py +18 -0
- spiral/expressions/refs.py +58 -0
- spiral/expressions/str_.py +39 -0
- spiral/expressions/struct.py +59 -0
- spiral/expressions/text.py +62 -0
- spiral/expressions/tiff.py +223 -0
- spiral/expressions/udf.py +46 -0
- spiral/grpc_.py +32 -0
- spiral/iceberg/__init__.py +3 -0
- spiral/iceberg/client.py +33 -0
- spiral/indexes/__init__.py +5 -0
- spiral/indexes/client.py +137 -0
- spiral/indexes/index.py +34 -0
- spiral/indexes/scan.py +22 -0
- spiral/project.py +46 -0
- spiral/protogen/_/__init__.py +0 -0
- spiral/protogen/_/arrow/__init__.py +0 -0
- spiral/protogen/_/arrow/flight/__init__.py +0 -0
- spiral/protogen/_/arrow/flight/protocol/__init__.py +0 -0
- spiral/protogen/_/arrow/flight/protocol/sql/__init__.py +1990 -0
- spiral/protogen/_/scandal/__init__.py +178 -0
- spiral/protogen/_/spiral/__init__.py +0 -0
- spiral/protogen/_/spiral/table/__init__.py +22 -0
- spiral/protogen/_/substrait/__init__.py +3399 -0
- spiral/protogen/_/substrait/extensions/__init__.py +115 -0
- spiral/protogen/__init__.py +0 -0
- spiral/protogen/substrait/__init__.py +3399 -0
- spiral/protogen/substrait/extensions/__init__.py +115 -0
- spiral/protogen/util.py +41 -0
- spiral/py.typed +0 -0
- spiral/server.py +17 -0
- spiral/settings.py +101 -0
- spiral/substrait_.py +279 -0
- spiral/tables/__init__.py +12 -0
- spiral/tables/client.py +130 -0
- spiral/tables/dataset.py +250 -0
- spiral/tables/debug/__init__.py +0 -0
- spiral/tables/debug/manifests.py +70 -0
- spiral/tables/debug/metrics.py +56 -0
- spiral/tables/debug/scan.py +248 -0
- spiral/tables/maintenance.py +12 -0
- spiral/tables/scan.py +193 -0
- spiral/tables/snapshot.py +78 -0
- spiral/tables/table.py +157 -0
- spiral/tables/transaction.py +52 -0
- spiral/types_.py +6 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# sources: substrait/extensions/extensions.proto
|
3
|
+
# plugin: python-betterproto
|
4
|
+
# This file has been @generated
|
5
|
+
|
6
|
+
from dataclasses import dataclass
|
7
|
+
from typing import List
|
8
|
+
|
9
|
+
import betterproto
|
10
|
+
import betterproto.lib.google.protobuf as betterproto_lib_google_protobuf
|
11
|
+
|
12
|
+
|
13
|
+
@dataclass(eq=False, repr=False)
|
14
|
+
class SimpleExtensionUri(betterproto.Message):
|
15
|
+
extension_uri_anchor: int = betterproto.uint32_field(1)
|
16
|
+
"""
|
17
|
+
A surrogate key used in the context of a single plan used to reference the
|
18
|
+
URI associated with an extension.
|
19
|
+
"""
|
20
|
+
|
21
|
+
uri: str = betterproto.string_field(2)
|
22
|
+
"""
|
23
|
+
The URI where this extension YAML can be retrieved. This is the "namespace"
|
24
|
+
of this extension.
|
25
|
+
"""
|
26
|
+
|
27
|
+
|
28
|
+
@dataclass(eq=False, repr=False)
|
29
|
+
class SimpleExtensionDeclaration(betterproto.Message):
|
30
|
+
"""
|
31
|
+
Describes a mapping between a specific extension entity and the uri where
|
32
|
+
that extension can be found.
|
33
|
+
"""
|
34
|
+
|
35
|
+
extension_type: "SimpleExtensionDeclarationExtensionType" = (
|
36
|
+
betterproto.message_field(1, group="mapping_type")
|
37
|
+
)
|
38
|
+
extension_type_variation: "SimpleExtensionDeclarationExtensionTypeVariation" = (
|
39
|
+
betterproto.message_field(2, group="mapping_type")
|
40
|
+
)
|
41
|
+
extension_function: "SimpleExtensionDeclarationExtensionFunction" = (
|
42
|
+
betterproto.message_field(3, group="mapping_type")
|
43
|
+
)
|
44
|
+
|
45
|
+
|
46
|
+
@dataclass(eq=False, repr=False)
|
47
|
+
class SimpleExtensionDeclarationExtensionType(betterproto.Message):
|
48
|
+
"""Describes a Type"""
|
49
|
+
|
50
|
+
extension_uri_reference: int = betterproto.uint32_field(1)
|
51
|
+
"""
|
52
|
+
references the extension_uri_anchor defined for a specific extension URI.
|
53
|
+
"""
|
54
|
+
|
55
|
+
type_anchor: int = betterproto.uint32_field(2)
|
56
|
+
"""
|
57
|
+
A surrogate key used in the context of a single plan to reference a
|
58
|
+
specific extension type
|
59
|
+
"""
|
60
|
+
|
61
|
+
name: str = betterproto.string_field(3)
|
62
|
+
"""the name of the type in the defined extension YAML."""
|
63
|
+
|
64
|
+
|
65
|
+
@dataclass(eq=False, repr=False)
|
66
|
+
class SimpleExtensionDeclarationExtensionTypeVariation(betterproto.Message):
|
67
|
+
extension_uri_reference: int = betterproto.uint32_field(1)
|
68
|
+
"""
|
69
|
+
references the extension_uri_anchor defined for a specific extension URI.
|
70
|
+
"""
|
71
|
+
|
72
|
+
type_variation_anchor: int = betterproto.uint32_field(2)
|
73
|
+
"""
|
74
|
+
A surrogate key used in the context of a single plan to reference a
|
75
|
+
specific type variation
|
76
|
+
"""
|
77
|
+
|
78
|
+
name: str = betterproto.string_field(3)
|
79
|
+
"""the name of the type in the defined extension YAML."""
|
80
|
+
|
81
|
+
|
82
|
+
@dataclass(eq=False, repr=False)
|
83
|
+
class SimpleExtensionDeclarationExtensionFunction(betterproto.Message):
|
84
|
+
extension_uri_reference: int = betterproto.uint32_field(1)
|
85
|
+
"""
|
86
|
+
references the extension_uri_anchor defined for a specific extension URI.
|
87
|
+
"""
|
88
|
+
|
89
|
+
function_anchor: int = betterproto.uint32_field(2)
|
90
|
+
"""
|
91
|
+
A surrogate key used in the context of a single plan to reference a
|
92
|
+
specific function
|
93
|
+
"""
|
94
|
+
|
95
|
+
name: str = betterproto.string_field(3)
|
96
|
+
"""A function signature compound name"""
|
97
|
+
|
98
|
+
|
99
|
+
@dataclass(eq=False, repr=False)
|
100
|
+
class AdvancedExtension(betterproto.Message):
|
101
|
+
"""
|
102
|
+
A generic object that can be used to embed additional extension information
|
103
|
+
into the serialized substrait plan.
|
104
|
+
"""
|
105
|
+
|
106
|
+
optimization: List[
|
107
|
+
"betterproto_lib_google_protobuf.Any"
|
108
|
+
] = betterproto.message_field(1)
|
109
|
+
"""
|
110
|
+
An optimization is helpful information that don't influence semantics. May
|
111
|
+
be ignored by a consumer.
|
112
|
+
"""
|
113
|
+
|
114
|
+
enhancement: "betterproto_lib_google_protobuf.Any" = betterproto.message_field(2)
|
115
|
+
"""An enhancement alter semantics. Cannot be ignored by a consumer."""
|
File without changes
|