Athena (contrib)

Description

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

Disclaimer

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

Examples

Defining an Athena source:

from feast.infra.offline_stores.contrib.athena_offline_store.athena_source import (
    AthenaSource,
)

driver_stats_source = AthenaSource(
    name="driver_hourly_stats",
    table="driver_hourly_stats",
    database="my_database",
    data_source="AwsDataCatalog",
    timestamp_field="event_timestamp",
    created_timestamp_column="created",
)

The full set of configuration options is available herearrow-up-right.

Supported Types

Athena data sources support standard Athena types mapped through the AWS Athena API. For a comparison against other batch data sources, please see here.

Last updated

Was this helpful?