1.16.16

flytekit.models.presto

This is a deprecated module. Model files for plugins should go alongside the microlib. See plugins/flytekit-kf-pytorch/flytekitplugins/kfpytorch/models.py as an example.

Directory

Classes

Class Description
PrestoQuery

flytekit.models.presto.PrestoQuery

Parameters

class PrestoQuery(
    routing_group,
    catalog,
    schema,
    statement,
)

Initializes a new PrestoQuery.

Parameter Type Description
routing_group
catalog
schema
statement

Properties

Property Type Description
catalog None
is_empty None
routing_group None The query string.
schema None
statement None

Methods

Method Description
from_flyte_idl()
serialize_to_string()
short_string()
to_flyte_idl()

from_flyte_idl()

def from_flyte_idl(
    pb2_object,
)
Parameter Type Description
pb2_object

Returns: PrestoQuery

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

Returns: Text

to_flyte_idl()

def to_flyte_idl()

Returns: _presto.PrestoQuery