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 |
@@ -252,7 +252,10 @@ If your sink data store and format meet the criteria described in this section,
252
252
}
253
253
},
254
254
"sink": {
255
-
"type": "<sink type>"
255
+
"type": "<sink type>",
256
+
"importSettings": {
257
+
"type": "SnowflakeExportCopyCommand"
258
+
}
256
259
}
257
260
}
258
261
}
@@ -290,10 +293,16 @@ To use this feature, create an [Azure Blob storage linked service](connector-azu
290
293
"typeProperties": {
291
294
"source": {
292
295
"type": "SnowflakeSource",
296
+
"exportSettings": {
297
+
"type": "SnowflakeExportCopyCommand"
298
+
},
293
299
"sqlReaderQuery": "SELECT * FROM MyTable"
294
300
},
295
301
"sink": {
296
-
"type": "<sink type>"
302
+
"type": "<sink type>",
303
+
"importSettings": {
304
+
"type": "SnowflakeExportCopyCommand"
305
+
}
297
306
},
298
307
"enableStaging": true,
299
308
"stagingSettings": {
@@ -320,7 +329,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
331
| 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|
332
+
| 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
333
|***Under `importSettings`:***|||
325
334
| type | The type of import command, set to **SnowflakeImportCopyCommand**. | Yes |
326
335
| 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 |
@@ -382,18 +391,21 @@ If your source data store and format meet the criteria described in this section
382
391
],
383
392
"typeProperties": {
384
393
"source": {
385
-
"type": "<source type>"
394
+
"type": "<source type>",
395
+
"exportSettings": {
396
+
"type": "SnowflakeImportCopyCommand"
397
+
}
386
398
},
387
399
"sink": {
388
400
"type": "SnowflakeSink",
389
401
"importSettings": {
390
402
"type": "SnowflakeImportCopyCommand",
391
403
"copyOptions": {
392
404
"FORCE": "TRUE",
393
-
"ON_ERROR": "SKIP_FILE",
405
+
"ON_ERROR": "SKIP_FILE"
394
406
},
395
407
"fileFormatOptions": {
396
-
"DATE_FORMAT": "YYYY-MM-DD",
408
+
"DATE_FORMAT": "YYYY-MM-DD"
397
409
}
398
410
}
399
411
}
@@ -432,10 +444,15 @@ To use this feature, create an [Azure Blob storage linked service](connector-azu
0 commit comments