File tree Expand file tree Collapse file tree 4 files changed +57
-0
lines changed Expand file tree Collapse file tree 4 files changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ from pyarrow.lib import (
5656 large_binary ,
5757 large_string ,
5858 large_utf8 ,
59+ decimal32 ,
60+ decimal64 ,
5961 decimal128 ,
6062 decimal256 ,
6163 list_ ,
@@ -69,7 +71,11 @@ from pyarrow.lib import (
6971 dense_union ,
7072 dictionary ,
7173 run_end_encoded ,
74+ json_ ,
75+ uuid ,
7276 fixed_shape_tensor ,
77+ bool8 ,
78+ opaque ,
7379 field ,
7480 type_for_alias ,
7581 DataType ,
@@ -97,6 +103,10 @@ from pyarrow.lib import (
97103 ExtensionType ,
98104 RunEndEncodedType ,
99105 FixedShapeTensorType ,
106+ Bool8Type ,
107+ UuidType ,
108+ JsonType ,
109+ OpaqueType ,
100110 PyExtensionType ,
101111 UnknownExtensionType ,
102112 register_extension_type ,
@@ -164,6 +174,10 @@ from pyarrow.lib import (
164174 ExtensionArray ,
165175 RunEndEncodedArray ,
166176 FixedShapeTensorArray ,
177+ Bool8Array ,
178+ UuidArray ,
179+ JsonArray ,
180+ OpaqueArray ,
167181 scalar ,
168182 NA ,
169183 _NULL as NULL ,
@@ -181,6 +195,8 @@ from pyarrow.lib import (
181195 HalfFloatScalar ,
182196 FloatScalar ,
183197 DoubleScalar ,
198+ Decimal32Scalar ,
199+ Decimal64Scalar ,
184200 Decimal128Scalar ,
185201 Decimal256Scalar ,
186202 ListScalar ,
@@ -208,6 +224,10 @@ from pyarrow.lib import (
208224 UnionScalar ,
209225 RunEndEncodedScalar ,
210226 ExtensionScalar ,
227+ Bool8Scalar ,
228+ UuidScalar ,
229+ JsonScalar ,
230+ OpaqueScalar ,
211231)
212232
213233# Buffers, allocation
@@ -372,6 +392,8 @@ __all__ = [
372392 "large_binary" ,
373393 "large_string" ,
374394 "large_utf8" ,
395+ "decimal32" ,
396+ "decimal64" ,
375397 "decimal128" ,
376398 "decimal256" ,
377399 "list_" ,
@@ -385,7 +407,11 @@ __all__ = [
385407 "dense_union" ,
386408 "dictionary" ,
387409 "run_end_encoded" ,
410+ "json_" ,
411+ "uuid" ,
388412 "fixed_shape_tensor" ,
413+ "bool8" ,
414+ "opaque" ,
389415 "field" ,
390416 "type_for_alias" ,
391417 "DataType" ,
@@ -413,6 +439,10 @@ __all__ = [
413439 "ExtensionType" ,
414440 "RunEndEncodedType" ,
415441 "FixedShapeTensorType" ,
442+ "Bool8Type" ,
443+ "UuidType" ,
444+ "JsonType" ,
445+ "OpaqueType" ,
416446 "PyExtensionType" ,
417447 "UnknownExtensionType" ,
418448 "register_extension_type" ,
@@ -478,6 +508,10 @@ __all__ = [
478508 "Decimal256Array" ,
479509 "StructArray" ,
480510 "ExtensionArray" ,
511+ "Bool8Array" ,
512+ "UuidArray" ,
513+ "JsonArray" ,
514+ "OpaqueArray" ,
481515 "RunEndEncodedArray" ,
482516 "FixedShapeTensorArray" ,
483517 "scalar" ,
@@ -524,6 +558,10 @@ __all__ = [
524558 "UnionScalar" ,
525559 "RunEndEncodedScalar" ,
526560 "ExtensionScalar" ,
561+ "Bool8Scalar" ,
562+ "UuidScalar" ,
563+ "JsonScalar" ,
564+ "OpaqueScalar" ,
527565 "DeviceAllocationType" ,
528566 "Device" ,
529567 "MemoryManager" ,
Original file line number Diff line number Diff line change @@ -1680,6 +1680,10 @@ __all__ = [
16801680 "StructArray" ,
16811681 "RunEndEncodedArray" ,
16821682 "ExtensionArray" ,
1683+ "Bool8Array" ,
1684+ "UuidArray" ,
1685+ "JsonArray" ,
1686+ "OpaqueArray" ,
16831687 "FixedShapeTensorArray" ,
16841688 "concat_arrays" ,
16851689 "_empty_array" ,
Original file line number Diff line number Diff line change @@ -256,6 +256,11 @@ class ExtensionScalar(Scalar[types.ExtensionType]):
256256 @staticmethod
257257 def from_storage (typ : types .BaseExtensionType , value ) -> ExtensionScalar : ...
258258
259+ class Bool8Scalar (Scalar [types .Bool8Type ]): ...
260+ class UuidScalar (Scalar [types .UuidType ]): ...
261+ class JsonScalar (Scalar [types .JsonType ]): ...
262+ class OpaqueScalar (Scalar [types .OpaqueType ]): ...
263+
259264class FixedShapeTensorScalar (ExtensionScalar ):
260265 def to_numpy (self ) -> np .ndarray : ...
261266 def to_tensor (self ) -> Tensor : ...
@@ -442,6 +447,8 @@ __all__ = [
442447 "HalfFloatScalar" ,
443448 "FloatScalar" ,
444449 "DoubleScalar" ,
450+ "Decimal32Scalar" ,
451+ "Decimal64Scalar" ,
445452 "Decimal128Scalar" ,
446453 "Decimal256Scalar" ,
447454 "Date32Scalar" ,
@@ -470,5 +477,9 @@ __all__ = [
470477 "UnionScalar" ,
471478 "ExtensionScalar" ,
472479 "FixedShapeTensorScalar" ,
480+ "Bool8Scalar" ,
481+ "UuidScalar" ,
482+ "JsonScalar" ,
483+ "OpaqueScalar" ,
473484 "scalar" ,
474485]
Original file line number Diff line number Diff line change @@ -694,6 +694,10 @@ __all__ = [
694694 "BaseExtensionType" ,
695695 "ExtensionType" ,
696696 "FixedShapeTensorType" ,
697+ "Bool8Type" ,
698+ "UuidType" ,
699+ "JsonType" ,
700+ "OpaqueType" ,
697701 "PyExtensionType" ,
698702 "UnknownExtensionType" ,
699703 "register_extension_type" ,
You can’t perform that action at this time.
0 commit comments