You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| type | The type property of the Copy activity source must be set to **SnowflakeSource**. | Yes |
187
187
| query | Specifies the SQL query to read data from Snowflake. If the names of the schema, table and columns contain lower case, quote the object identifier in query e.g. `select * from "schema"."myTable"`.<br>Executing stored procedure is not supported. | No |
188
-
| exportSettings | Advanced settings used to retrieve data from Snowflake. You can configure the ones supported by the COPY into command that the service will pass through when you invoke the statement. |No|
188
+
| exportSettings | Advanced settings used to retrieve data from Snowflake. You can configure the ones supported by the COPY into command that the service will pass through when you invoke the statement. |Yes|
189
189
|***Under `exportSettings`:***|||
190
190
| type | The type of export command, set to **SnowflakeExportCopyCommand**. | Yes |
191
191
| additionalCopyOptions | Additional copy options, provided as a dictionary of key-value pairs. Examples: MAX_FILE_SIZE, OVERWRITE. For more information, see [Snowflake Copy Options](https://docs.snowflake.com/en/sql-reference/sql/copy-into-location.html#copy-options-copyoptions). | No |
@@ -289,8 +289,11 @@ To use this feature, create an [Azure Blob storage linked service](connector-azu
289
289
],
290
290
"typeProperties": {
291
291
"source": {
292
-
"type": "SnowflakeSource",
293
-
"sqlReaderQuery": "SELECT * FROM MyTable"
292
+
"type": "SnowflakeSource",
293
+
"sqlReaderQuery": "SELECT * FROM MyTable",
294
+
"exportSettings": {
295
+
"type": "SnowflakeExportCopyCommand"
296
+
}
294
297
},
295
298
"sink": {
296
299
"type": "<sink type>"
@@ -320,7 +323,7 @@ To copy data to Snowflake, the following properties are supported in the Copy ac
| type | The type property of the Copy activity sink, set to **SnowflakeSink**. | Yes |
322
325
| preCopyScript | Specify a SQL query for the Copy activity to run before writing data into Snowflake in each run. Use this property to clean up the preloaded data. | No |
323
-
| importSettings | Advanced settings used to write data into Snowflake. You can configure the ones supported by the COPY into command that the service will pass through when you invoke the statement. |No|
326
+
| importSettings | Advanced settings used to write data into Snowflake. You can configure the ones supported by the COPY into command that the service will pass through when you invoke the statement. |Yes|
324
327
|***Under `importSettings`:***|||
325
328
| type | The type of import command, set to **SnowflakeImportCopyCommand**. | Yes |
326
329
| additionalCopyOptions | Additional copy options, provided as a dictionary of key-value pairs. Examples: ON_ERROR, FORCE, LOAD_UNCERTAIN_FILES. For more information, see [Snowflake Copy Options](https://docs.snowflake.com/en/sql-reference/sql/copy-into-table.html#copy-options-copyoptions). | No |
@@ -390,10 +393,10 @@ If your source data store and format meet the criteria described in this section
390
393
"type": "SnowflakeImportCopyCommand",
391
394
"copyOptions": {
392
395
"FORCE": "TRUE",
393
-
"ON_ERROR": "SKIP_FILE",
396
+
"ON_ERROR": "SKIP_FILE"
394
397
},
395
398
"fileFormatOptions": {
396
-
"DATE_FORMAT": "YYYY-MM-DD",
399
+
"DATE_FORMAT": "YYYY-MM-DD"
397
400
}
398
401
}
399
402
}
@@ -435,7 +438,10 @@ To use this feature, create an [Azure Blob storage linked service](connector-azu
0 commit comments