@@ -14,6 +14,7 @@ can contact our support team.
1414
1515* [ Overview] ( #overview )
1616* [ Getting started] ( #getting-started )
17+ * [ Storage Formats] ( #data-storage-formats )
1718* [ Import] ( #import )
1819* [ Export] ( #export )
1920* [ Building from source] ( #building-from-source )
@@ -110,6 +111,28 @@ CREATE OR REPLACE JAVA SET SCRIPT EXPORT_TABLE(...) EMITS (ROWS_AFFECTED INT) AS
110111Please do not forget to change the bucket name or latest jar version according
111112to your setup.
112113
114+ ## Data Storage Formats
115+
116+ When performing import or export, the default data format is set as [ Apache
117+ Parquet] [ parquet ] format. However, you can specify the format using
118+ ` DATA_FORMAT ` configuration property.
119+
120+ For example in order to import [ Apache Avro] [ avro ] format:
121+
122+ ``` sql
123+ IMPORT INTO MY_SALES_POSITIONS_TABLE
124+ FROM SCRIPT ETL .IMPORT_PATH WITH
125+ BUCKET_PATH = ' s3a://exa-bucket/data/avro/retail/sales_positions/*'
126+ DATA_FORMAT = ' AVRO'
127+ ...
128+ PARALLELISM = ' nproc()' ;
129+ ```
130+
131+ ### Supported storage formats
132+
133+ * [ Apache Parquet] [ parquet ]
134+ * [ Apache Avro] [ avro ] : currently only import is supported
135+
113136## IMPORT
114137
115138Please follow instructions below in order to import from different cloud
@@ -268,4 +291,5 @@ The packaged jar should be located at
268291[ gcs ] : https://cloud.google.com/storage/
269292[ azure ] : https://azure.microsoft.com/en-us/services/storage/blobs/
270293[ parquet ] : https://parquet.apache.org/
294+ [ avro ] : https://avro.apache.org/
271295[ jars ] : https://github.com/exasol/cloud-storage-etl-udfs/releases
0 commit comments