File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
sdk/python/feast/infra/materialization Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,6 @@ def update(
118118 entities_to_delete : Sequence [Entity ],
119119 entities_to_keep : Sequence [Entity ],
120120 ):
121- click .echo (
122- f"Deploying materialization functions for { Style .BRIGHT + Fore .GREEN } { project } { Style .RESET_ALL } "
123- )
124- click .echo ()
125-
126121 stage_context = f'"{ self .repo_config .batch_engine .database } "."{ self .repo_config .batch_engine .schema_ } "'
127122 stage_path = f'{ stage_context } ."feast_{ project } "'
128123 with get_snowflake_conn (self .repo_config .batch_engine ) as conn :
@@ -136,12 +131,13 @@ def update(
136131 # if the stage already exists,
137132 # assumes that the materialization functions have been deployed
138133 if f"feast_{ project } " in stage_list ["name" ].tolist ():
139- click .echo (
140- f"Materialization functions for { Style .BRIGHT + Fore .GREEN } { project } { Style .RESET_ALL } already exists"
141- )
142- click .echo ()
143134 return None
144135
136+ click .echo (
137+ f"Deploying materialization functions for { Style .BRIGHT + Fore .GREEN } { project } { Style .RESET_ALL } "
138+ )
139+ click .echo ()
140+
145141 query = f"CREATE STAGE { stage_path } "
146142 execute_snowflake_statement (conn , query )
147143
You can’t perform that action at this time.
0 commit comments