We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe3faa commit 5101a66Copy full SHA for 5101a66
snowflake_utils/models/table.py
@@ -210,7 +210,7 @@ def copy_into(
210
copy_query = f"""
211
COPY INTO {self.fqn} {col_str}
212
FROM {path}
213
- {f"STORAGE_INTEGRATION = {storage_integration}" if storage_integration else ""}
+ {f"STORAGE_INTEGRATION = {storage_integration}" if storage_integration and not stage else ""}
214
FILE_FORMAT = ( FORMAT_NAME ='{{file_format}}')
215
MATCH_BY_COLUMN_NAME={match_by_column_name.value}
216
{files_clause}
0 commit comments