pyarrow.parquet.ParquetLogicalType#
- class pyarrow.parquet.ParquetLogicalType#
Bases:
pyarrow.lib._Weakrefable
Logical type of parquet type.
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)to_json
(self)Get a JSON string containing type and type parameters.
Attributes
Name of the logical type (str).
- to_json(self)#
Get a JSON string containing type and type parameters.
- Returns
- json
str
JSON representation of type, with at least a field called ‘Type’ which contains the type name. If the type is parameterized, such as a decimal with scale and precision, will contain those as fields as well.
- json
- type#
Name of the logical type (str).