Skip to content

Commit

Permalink
fix: Fix Snowflake template (#3584)
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Adkins <miles.adkins@snowflake.com>
  • Loading branch information
sfc-gh-madkins authored Apr 11, 2023
1 parent 2c04ec1 commit 6c09c39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/python/feast/templates/snowflake/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@


def run_demo():
store = FeatureStore(repo_path="./feature_repo")
print("\n--- Run feast apply to setup feature store on Snowflake ---")
command = "cd feature_repo; feast apply"
subprocess.run(command, shell=True)

store = FeatureStore(repo_path="./feature_repo")

print("\n--- Historical features for training ---")
fetch_historical_features_entity_df(store, for_batch_scoring=False)

Expand Down

0 comments on commit 6c09c39

Please sign in to comment.