|
| 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