graviti.operation.common#

Common tools.

Module Contents#

Functions#

get_schema(schema)

Get portex schema, avro schema and arrow schema.

graviti.operation.common.get_schema(schema)[source]#

Get portex schema, avro schema and arrow schema.

Parameters

schema (graviti.portex.record) – The portex schema.

Returns

The tuple of portex schema, avro schema and arrow schema.

Return type

Tuple[str, str, str]