Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert accidental change
Signed-off-by: pyalex <moskalenko.alexey@gmail.com>
  • Loading branch information
pyalex committed May 2, 2022
commit f2ed4efc42cce427cb38443881971d22a7bb8ecd
4 changes: 2 additions & 2 deletions sdk/python/feast/templates/snowflake/bootstrap.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import click
import snowflake.connector

from feast.infra.utils.snowflake_utils import copy_uploaded_data_to_table
from feast.infra.utils.snowflake_utils import write_pandas


def bootstrap():
Expand Down Expand Up @@ -58,7 +58,7 @@ def bootstrap():
cur.execute('CREATE SCHEMA IF NOT EXISTS "PUBLIC"')
cur.execute('USE SCHEMA "PUBLIC"')
cur.execute(f'DROP TABLE IF EXISTS "{project_name}_feast_driver_hourly_stats"')
copy_uploaded_data_to_table(
write_pandas(
conn,
driver_df,
f"{project_name}_feast_driver_hourly_stats",
Expand Down