Skip to content

Commit f2f2fdf

Browse files
committed
[SSIS] Update for new Azure Feature Pack release
1 parent 6394f11 commit f2f2fdf

10 files changed

Lines changed: 266 additions & 34 deletions

‎docs/integration-services/azure-feature-pack-for-integration-services-ssis.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Azure Feature Pack for Integration Services (SSIS) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "07/09/2018"
4+
ms.date: "05/22/2019"
55
ms.prod: sql
66
ms.prod_service: "integration-services"
77
ms.reviewer: ""
@@ -66,6 +66,8 @@ The download pages also include information about prerequisites. Make sure you i
6666

6767
- [Azure SQL DW Upload Task](../integration-services/control-flow/azure-sql-dw-upload-task.md)
6868

69+
- [Flexible File Task](../integration-services/control-flow/flexible-file-task.md)
70+
6971
- Data Flow Components
7072

7173
- [Azure Blob Source](../integration-services/data-flow/azure-blob-source.md)
@@ -76,7 +78,11 @@ The download pages also include information about prerequisites. Make sure you i
7678

7779
- [Azure Data Lake Store Destination](../integration-services/data-flow/azure-data-lake-store-destination.md)
7880

79-
- Azure Blob & Azure Data Lake Store File Enumerator. See [Foreach Loop Container](https://msdn.microsoft.com/library/95a19dde-61ca-4d9b-aa3d-131fa4264296)
81+
- [Flexible File Source](../integration-services/data-flow/flexible-file-source.md)
82+
83+
- [Flexible File Destination](../integration-services/data-flow/flexible-file-destination.md)
84+
85+
- Azure Blob, Azure Data Lake Store, and Data Lake Storage Gen2 File Enumerator. See [Foreach Loop Container](../integration-services/control-flow/foreach-loop-container.md)
8086

8187
## Scenario: Processing big data
8288
Use Azure Connector to complete following big data processing work:
Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Azure Storage Connection Manager | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/01/2017"
4+
ms.date: "05/22/2019"
55
ms.prod: sql
66
ms.prod_service: "integration-services"
77
ms.reviewer: ""
@@ -19,23 +19,19 @@ manager: craigg
1919

2020
[!INCLUDE[ssis-appliesto](../../includes/ssis-appliesto-ssvrpluslinux-asdb-asdw-xxx.md)]
2121

22-
23-
The **Azure Storage connection manager** enables an SSIS package to connect to an Azure Storage account by using the values you specify for the properties: Storage Account Name and Account Key.
22+
The **Azure Storage connection manager** enables an SSIS package to connect to an Azure Storage account.
2423

2524
The **Azure Storage connection manager** is a component of the [SQL Server Integration Services (SSIS) Feature Pack for Azure](../../integration-services/azure-feature-pack-for-integration-services-ssis.md).
2625

27-
1. In the **Add SSIS Connection Manager** dialog box, select **AzureStorage**, and click **Add**.
28-
29-
2. In the Azure Storage Connection Manager Editor dialog box, choose **Use Azure account** to connect to an Azure Storage Service via internet or choose **Use local developer account** to connect to the local service hosted by the Azure Storage Emulator.
30-
31-
3. If you selected **Use Azure account** option, do the following:
32-
33-
1. Specify values for the **Storage account name** and **Account key** field. These values will be stored as sensitive data in SSIS package.
34-
35-
2. Select **Use HTTPS** if you want to use HTTPS instead of HTTP to connect to the Azure Storage Service.
36-
37-
4. Click **OK** to close the dialog box.
38-
39-
5. You can see the properties of the connection manager you created in the **Properties** window.
40-
26+
In the **Add SSIS Connection Manager** dialog box, select **AzureStorage**, and click **Add**.
4127

28+
Following properties are available.
29+
30+
- **Service:** Specifies the storage service to connect to.
31+
- **Account name:** Specifies the storage account name.
32+
- **Authentication:** Specifies the authentication method to use. **AccessKey** and **ServicePrincipal** authentication are supported.
33+
- **AccessKey:** For this authentication method, specify the **Account key**.
34+
- **ServicePrincipal:** For this authentication method, specify the **Application ID**, **Application key**, **Tenant ID** of the service principal.
35+
The service principal should be assigned **Storage Blob Data Contributor** role to the storage account.
36+
Refer to [this](https://docs.microsoft.com/azure/storage/common/storage-auth-aad-rbac-portal#assign-rbac-roles-using-the-azure-portal) page for details.
37+
- **Environment:** Specifies the cloud environment hosting the storage account.

‎docs/integration-services/control-flow/azure-blob-download-task.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Azure Blob Download Task | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "07/25/2016"
4+
ms.date: "05/22/2019"
55
ms.prod: sql
66
ms.prod_service: "integration-services"
77
ms.reviewer: ""
@@ -27,15 +27,13 @@ To add an **Azure Blob Download Task**, drag-drop it to the SSIS Designer, and d
2727
The **Azure Blob Download Task** is a component of the [SQL Server Integration Services (SSIS) Feature Pack for Azure](../../integration-services/azure-feature-pack-for-integration-services-ssis.md).
2828

2929
The following table provides description for the fields in this dialog box.
30-
31-
|||
32-
|-|-|
30+
3331
|**Field**|**Description**|
32+
|---|---|
3433
|AzureStorageConnection|Specify an existing Azure Storage Connection Manager or create a new one that refers to an Azure Storage Account, which points to where the blob files are hosted.|
3534
|BlobContainer|Specifies the name of the blob container that contains the blob files to be downloaded.|
3635
|BlobDirectory|Specifies the blob directory that contains the blob files to be downloaded. The blob directory is a virtual hierarchical structure.|
36+
|SearchRecursively|Specifies whether to search recursively within sub-directories.|
3737
|LocalDirectory|Specifies the local directory where the downloaded blob files are stored.|
3838
|FileName|Specifies a name filter to select files with the specified name pattern. For example, `MySheet*.xls\*` includes files such as `MySheet001.xls` and `MySheetABC.xlsx`.|
3939
|TimeRangeFrom/TimeRangeTo|Specifies a time range filter. Files modified after **TimeRangeFrom** and before **TimeRangeTo** are included.|
40-
41-

‎docs/integration-services/control-flow/azure-blob-upload-task.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Azure Blob Upload Task | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "07/25/2016"
4+
ms.date: "05/22/2019"
55
ms.prod: sql
66
ms.prod_service: "integration-services"
77
ms.reviewer: ""
@@ -27,15 +27,13 @@ To add an **Azure Blob Upload Task**, drag-drop it to the SSIS Designer, and dou
2727
The **Azure Blob Upload Task** is a component of the [SQL Server Integration Services (SSIS) Feature Pack for Azure](../../integration-services/azure-feature-pack-for-integration-services-ssis.md).
2828

2929
The following table provides descriptions for the fields in this dialog box.
30-
31-
|||
32-
|-|-|
30+
3331
|**Field**|**Description**|
32+
|---|---|
3433
|AzureStorageConnection|Specify an existing Azure Storage Connection Manager or create a new one that refers to an Azure Storage Account, which points to where the blob files are hosted.|
3534
|BlobContainer|Specifies the name of the blob container that contains the uploaded files as blobs.|
3635
|BlobDirectory|Specifies the blob directory where the uploaded file is stored as a block blob. The blob directory is a virtual hierarchical structure. If the blob already exists, it is replaced.|
3736
|LocalDirectory|Specify the local directory that contains the files to be uploaded.|
37+
|SearchRecursively|Specify whether to search recursively within sub-directories.|
3838
|FileName|Specifies a name filter to select files with the specified name pattern. For example, `MySheet*.xls\*` includes files such as `MySheet001.xls` and `MySheetABC.xlsx`.|
3939
|TimeRangeFrom/TimeRangeTo|Specifies a time range filter. Files modified after **TimeRangeFrom** and before **TimeRangeTo** are included.|
40-
41-
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: "Flexible File Task | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "05/22/2019"
5+
ms.prod: sql
6+
ms.prod_service: "integration-services"
7+
ms.reviewer: ""
8+
ms.technology: integration-services
9+
ms.topic: conceptual
10+
f1_keywords:
11+
- "SQL13.DTS.DESIGNER.AFPEXTFILETASK.F1"
12+
- "SQL14.DTS.DESIGNER.AFPEXTFILETASK.F1"
13+
author: janinezhang
14+
ms.author: janinez
15+
manager: craigg
16+
---
17+
# Flexible File Task
18+
19+
[!INCLUDE[ssis-appliesto](../../includes/ssis-appliesto-ssvrpluslinux-asdb-asdw-xxx.md)]
20+
21+
The Flexible File Task enables users to perform file operations on various supported storage services.
22+
Currently supported storage services are
23+
24+
- Local File System
25+
- [Azure Blob Storage](https://azure.microsoft.com/services/storage/blobs/)
26+
- [Azure Data Lake Storage Gen2](https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-introduction)
27+
28+
The Flexible File Task is a component of the [SQL Server Integration Services (SSIS) Feature Pack for Azure](../../integration-services/azure-feature-pack-for-integration-services-ssis.md).
29+
30+
To add a Flexible File Task to a package, drag it from SSIS Toolbox to the designer canvas. Then double-click the task, or right-click the task and select **Edit**, to open the **Flexible File Task Editor** dialog box.
31+
32+
The **Operation** property specifies the file operation to perform.
33+
Only **Copy** operation is currently supported.
34+
35+
For **Copy** operation, following properties are available.
36+
37+
- **SourceConnectionType:** Specifies the source connection manager type.
38+
- **SourceConnection:** Specifies the source connection manager.
39+
- **SourceFolderPath:** Specifies the source folder path.
40+
- **SourceFileName:** Specifies the source file name. If left blank, the source folder will be copied.
41+
- **SearchRecursively:** Specifies whether to recursively copy sub-folders.
42+
- **DestinationConnectionType:** Specifies the destination connection manager type.
43+
- **DestinationConnection:** Specifies the destination connection manager.
44+
- **DestinationFolderPath:** Specifies the destination folder path.
45+
- **DestinationFileName:** Specifies the destination file name.

‎docs/integration-services/control-flow/foreach-loop-container.md‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Foreach Loop Container | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "08/22/2017"
4+
ms.date: "05/22/2019"
55
ms.prod: sql
66
ms.prod_service: "integration-services"
77
ms.reviewer: ""
@@ -62,6 +62,8 @@ manager: craigg
6262
- Foreach Azure Blob enumerator to enumerate blobs in a blob container in Azure Storage.
6363

6464
- Foreach ADLS File enumerator to enumerate files in a directory in Azure Data Lake Store.
65+
66+
- Foreach Data Lake Storage Gen2 File enumerator to enumerate files in a directory in Azure Data Lake Store Gen2.
6567

6668
The following diagram shows a Foreach Loop container that has a File System task. The Foreach loop uses the Foreach File enumerator, and the File System task is configured to copy a file. If the folder that the enumerator specifies contains four files, the loop repeats four times and copies four files.
6769

@@ -92,6 +94,7 @@ manager: craigg
9294
|Foreach HDFS File Enumerator|Specify a folder and the files to enumerate, the format of the file name of the retrieved files, and whether to traverse subfolders.|
9395
|Foreach Azure Blob|Specify the Azure blob container that containers blobs to be enumerated.|
9496
|Foreach ADLS File|Specify the Azure Data Lake Store directory that contains the files to be enumerated.|
97+
|Foreach Data Lake Storage Gen2 File|Specify the Azure Data Lake Storage Gen2 directory that contains the files to be enumerated, along with other options.|
9598

9699
## Add enumeration to a control flow with a Foreach Loop container
97100
[!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] includes the Foreach Loop container, a control flow element that makes it simple to include a looping construct that enumerates files and objects in the control flow of a package. For more information, see [Foreach Loop Container](../../integration-services/control-flow/foreach-loop-container.md).
@@ -209,6 +212,7 @@ Use the **General** page of the **Foreach Loop Editor** dialog box to name and d
209212
|**Foreach HDFS File Enumerator**|Enumerate HDFS files in the specified HDFS location. Selecting this value displays the dynamic options in the section, **Foreach HDFS File Enumerator**.|
210213
|**Foreach Azure Blob Enumerator**|Enumerate blob files in the specified blob location. Selecting this value displays the dynamic options in the section, **Foreach Azure Blob Enumerator**.|
211214
|**Foreach ADLS File Enumerator**|Enumerate files in the specified Data Lake Store directory. Selecting this value displays the dynamic options in the section, **Foreach ADLS File Enumerator**.|
215+
|**Foreach Data Lake Storage Gen2 File Enumerator**|Enumerate files in the specified Data Lake Storage Gen2 directory. Selecting this value displays the dynamic options in the section, **Foreach Data Lake Storage Gen2 File Enumerator**.|
212216

213217
**Expressions**
214218
Click or expand **Expressions** to view the list of existing property expressions. Click the ellipsis button **(...)** to add a property expression for an enumerator property, or edit and evaluate an existing property expression.
@@ -464,6 +468,9 @@ Use the **General** page of the **Foreach Loop Editor** dialog box to name and d
464468
**Blob directory**
465469
Specify the blob directory that contains the blob files to be enumerated. The blob directory is a virtual hierarchical structure.
466470

471+
**Search recursively**
472+
Specify whether to recursively search within sub-directories.
473+
467474
**Blob name filter**
468475
Specify a name filter to enumerate files with a certain name pattern. For example, `MySheet*.xls\*` includes files such as MySheet001.xls and MySheetABC.xlsx.
469476

@@ -485,6 +492,18 @@ Specifies a file name filter. Only files whose names match the specified pattern
485492
**SearchRecursively**
486493
Specifies whether to search recursively within the specified directory.
487494

495+
#### <a name="ForeachBlobFsFile"></a> Enumerator = Foreach Data Lake Storage Gen2 File Enumerator
496+
The **Foreach Data Lake Storage Gen2 File Enumerator** enables an SSIS package to enumerate files in Azure Data Lake Storage Gen2.
497+
498+
**AzureStorageConnection**
499+
Specifies an existing Azure Storage Connection Manager or creates a new one that references a Data Lake Storage Gen2 service.
500+
501+
**FolderPath**
502+
Specifies the path of the folder to enumerate files in.
503+
504+
**SearchRecursively**
505+
Specifies whether to search recursively within the specified folder.
506+
488507
## Variable Mappings Page - Foreach Loop Editor
489508
Use the **Variables Mappings** page of the **Foreach Loop Editor** dialog box to map variables to the collection value. The value of the variable is updated with the collection values on each iteration of the loop.
490509

‎docs/integration-services/data-flow/azure-data-lake-store-destination.md‎

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Azure Data Lake Store Destination | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: 01/10/2019
4+
ms.date: 05/22/2019
55
ms.prod: sql
66
ms.prod_service: "integration-services"
77
ms.reviewer: ""
@@ -41,3 +41,27 @@ manager: craigg
4141
If the file format is ORC, you need to install the Java Runtime Environment (JRE) for the appropriate platform.
4242

4343
3. After specifying the connection information, switch to the **Columns** page to map source columns to destination columns for the SSIS data flow.
44+
45+
## Prerequisite for ORC File Format
46+
Java is required to use ORC file format.
47+
Architecture (32/64-bit) of the Java build should match that of the SSIS runtime to use.
48+
The following Java builds have been tested.
49+
50+
- [Zulu's OpenJDK 8u192](https://www.azul.com/downloads/zulu/zulu-windows/)
51+
- [Oracle's Java SE Runtime Environment 8u192](https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html)
52+
53+
### Set Up Zulu's OpenJDK
54+
1. Download and extract the installation zip package.
55+
2. From the Command Prompt, run `sysdm.cpl`.
56+
3. On the **Advanced** tab, select **Environment Variables**.
57+
4. Under the **System variables** section, select **New**.
58+
5. Enter `JAVA_HOME` for the **Variable name**.
59+
6. Select **Browse Directory**, navigate to the extracted folder, and select the `jre` subfolder.
60+
Then select **OK**, and the **Variable value** is populated automatically.
61+
7. Select **OK** to close the **New System Variable** dialog box.
62+
8. Select **OK** to close the **Environment Variables** dialog box.
63+
9. Select **OK** to close the **System Properties** dialog box.
64+
65+
### Set Up Oracle's Java SE Runtime Environment
66+
1. Download and run the exe installer.
67+
2. Follow the installer instructions to complete setup.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: "Flexible File Destination | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "05/22/2019"
5+
ms.prod: sql
6+
ms.prod_service: "integration-services"
7+
ms.reviewer: ""
8+
ms.technology: integration-services
9+
ms.topic: conceptual
10+
f1_keywords:
11+
- "sql13.dts.designer.afpextfiledest.f1"
12+
- "sql14.dts.designer.afpextfiledest.f1"
13+
author: janinezhang
14+
ms.author: janinez
15+
manager: craigg
16+
---
17+
# Flexible File Destination
18+
19+
[!INCLUDE[ssis-appliesto](../../includes/ssis-appliesto-ssvrpluslinux-asdb-asdw-xxx.md)]
20+
21+
The **Flexible File Destination** component enables an SSIS package to write data to various supported storage services.
22+
23+
Currently supported storage services are
24+
25+
- [Azure Blob Storage](https://azure.microsoft.com/services/storage/blobs/)
26+
- [Azure Data Lake Storage Gen2](https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-introduction)
27+
28+
Drag-drop **Flexible File Destination** to the data flow designer and double-click it to see the editor.
29+
30+
The **Flexible File Destination** is a component of the [SQL Server Integration Services (SSIS) Feature Pack for Azure](../../integration-services/azure-feature-pack-for-integration-services-ssis.md).
31+
32+
Following properties are available.
33+
34+
- **File Connection Manager Type:** Specifies the source connection manager type. Then choose an existing one of the specified type or create a new one.
35+
- **Folder Path:** Specifies the destination folder path.
36+
- **File Name:** Specifies the destination file name.
37+
- **File Format:** Specifies the destination file format. Supported formats are **Text**, **Avro**, **ORC**, **Parquet**.
38+
- **Column delimiter character:** Specifies the character to use as column delimiter (multi-character delimiters are not supported).
39+
- **First row as the column name:** Specifies whether to write column names to first row.
40+
- **Compress the file:** Specifies whether to compress the file.
41+
- **Compression Type:** Specifies the compression format to use. Supported formats are **GZIP**, **DEFLATE**, **BZIP2**.
42+
- **Compression Level:** Specifies the compression level to use.
43+
44+
After specifying the connection information, switch to the **Columns** page to map source columns to destination columns for the SSIS data flow.
45+
46+
**Prerequisite for ORC/Parquet File Format**
47+
48+
Java is required to use ORC/Parquet file format.
49+
Architecture (32/64-bit) of the Java build should match that of the SSIS runtime to use.
50+
The following Java builds have been tested.
51+
52+
- [Zulu's OpenJDK 8u192](https://www.azul.com/downloads/zulu/zulu-windows/)
53+
- [Oracle's Java SE Runtime Environment 8u192](https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html)
54+
55+
**Set Up Zulu's OpenJDK**
56+
57+
1. Download and extract the installation zip package.
58+
2. From the Command Prompt, run `sysdm.cpl`.
59+
3. On the **Advanced** tab, select **Environment Variables**.
60+
4. Under the **System variables** section, select **New**.
61+
5. Enter `JAVA_HOME` for the **Variable name**.
62+
6. Select **Browse Directory**, navigate to the extracted folder, and select the `jre` subfolder.
63+
Then select **OK**, and the **Variable value** is populated automatically.
64+
7. Select **OK** to close the **New System Variable** dialog box.
65+
8. Select **OK** to close the **Environment Variables** dialog box.
66+
9. Select **OK** to close the **System Properties** dialog box.
67+
68+
**Set Up Oracle's Java SE Runtime Environment**
69+
70+
1. Download and run the exe installer.
71+
2. Follow the installer instructions to complete setup.

0 commit comments

Comments
 (0)