pyarrow.parquet.ParquetLogicalType#

classpyarrow.parquet.ParquetLogicalType#

Bases:_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

type

Name of the logical type (str).

to_json(self)#

Get a JSON string containing type and type parameters.

Returns:
jsonstr

JSON representation of type, with at least a field called ‘Type’which contains the type name. If the type is parameterized, suchas a decimal with scale and precision, will contain those as fieldsas well.

type#

Name of the logical type (str).