We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PUT
1 parent 6c9dab8 commit 011315cCopy full SHA for 011315c
airbyte/_processors/sql/snowflake.py
@@ -69,10 +69,10 @@ def _write_files_to_new_table(
69
def path_str(path: Path) -> str:
70
return str(path.absolute()).replace("\\", "\\\\")
71
72
- put_files_statements = "\n".join(
73
- [f"PUT 'file://{path_str(file_path)}' {internal_sf_stage_name};" for file_path in files]
74
- )
75
- self._execute_sql(put_files_statements)
+ for file_path in files:
+ query = f"PUT 'file://{path_str(file_path)}' {internal_sf_stage_name};"
+ self._execute_sql(query)
+
76
columns_list = [
77
self._quote_identifier(c)
78
for c in list(self._get_sql_column_definitions(stream_name).keys())
0 commit comments