Commit 02ec6ad 1 parent ed58a86 commit 02ec6ad Copy full SHA for 02ec6ad
File tree 1 file changed +2
-2
lines changed
sdk/python/feast/infra/materialization
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,14 +130,14 @@ def update(
130
130
with GetSnowflakeConnection (self .repo_config .batch_engine ) as conn :
131
131
query = f"SHOW USER FUNCTIONS LIKE 'FEAST_{ project .upper ()} %' IN SCHEMA { stage_context } "
132
132
cursor = execute_snowflake_statement (conn , query )
133
- stage_list = pd .DataFrame (
133
+ function_list = pd .DataFrame (
134
134
cursor .fetchall (),
135
135
columns = [column .name for column in cursor .description ],
136
136
)
137
137
138
138
# if the SHOW FUNCTIONS query returns results,
139
139
# assumes that the materialization functions have been deployed
140
- if len (stage_list .index ) > 0 :
140
+ if len (function_list .index ) > 0 :
141
141
click .echo (
142
142
f"Materialization functions for { Style .BRIGHT + Fore .GREEN } { project } { Style .RESET_ALL } already detected."
143
143
)
You can’t perform that action at this time.
0 commit comments