arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Trino (contrib)

hashtag
Description

Trino data sources are Trino tables or views. These can be specified either by a table reference or a SQL query.

hashtag
Disclaimer

The Trino data source does not achieve full test coverage. Please do not assume complete stability.

hashtag
Examples

Defining a Trino source:

The full set of configuration options is available .

hashtag
Supported Types

Trino data sources support all eight primitive types, but currently do not support array types. For a comparison against other batch data sources, please see .

herearrow-up-right
here
from feast.infra.offline_stores.contrib.trino_offline_store.trino_source import (
    TrinoSource,
)

driver_hourly_stats = TrinoSource(
    event_timestamp_column="event_timestamp",
    table_ref="feast.driver_stats",
    created_timestamp_column="created",
)