Search…
Redshift

Description

Redshift data sources allow for the retrieval of historical feature values from Redshift for building training datasets as well as materializing features into an online store.
  • Either a table name or a SQL query can be provided.
  • No performance guarantees can be provided over SQL query-based sources. Please use table references where possible.

Examples

Using a table name
1
from feast import RedshiftSource
2
3
my_redshift_source = RedshiftSource(
4
table="redshift_table",
5
)
Copied!
Using a query
1
from feast import RedshiftSource
2
3
my_redshift_source = RedshiftSource(
4
query="SELECT timestamp as ts, created, f1, f2 "
5
"FROM redshift_table",
6
)
Copied!
Configuration options are available here.
Last modified 2mo ago
Export as PDF
Copy link
Edit on GitHub