Skip to content

Commit

Permalink
fix: Fixing Spark template to include source name
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Chiao <[email protected]>
  • Loading branch information
adchia authored and woop committed Mar 7, 2022
1 parent 71d7ae2 commit 84409f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/python/feast/templates/spark/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@

# Sources
driver_hourly_stats = SparkSource(
name="driver_hourly_stats",
path=f"{CURRENT_DIR}/data/driver_hourly_stats",
file_format="parquet",
event_timestamp_column="event_timestamp",
created_timestamp_column="created",
)
customer_daily_profile = SparkSource(
name="customer_daily_profile",
path=f"{CURRENT_DIR}/data/customer_daily_profile",
file_format="parquet",
event_timestamp_column="event_timestamp",
Expand Down

0 comments on commit 84409f9

Please sign in to comment.