Skip to content

Commit 61573a8

Browse files
authored
Merge pull request #23537 from jovanpop-msft/patch-43
Delta in serverless
2 parents 1ebd8bd + 4996f57 commit 61573a8

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

docs/t-sql/statements/create-external-file-format-transact-sql.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The following file formats are supported:
3636

3737
- JSON - Applies to Azure SQL Edge only. For information on using OPENROWSET to import JSON data in other platforms, see [Import JSON documents into SQL Server](../../relational-databases/json/import-json-documents-into-sql-server.md) or [Query JSON files using serverless SQL pool in Azure Synapse Analytics](/azure/synapse-analytics/sql/query-json-files).
3838

39-
- Delta Table - Introduced in [!INCLUDE[sssql22-md](../../includes/sssql22-md.md)].
39+
- Delta - Applies to the [serverless SQL pools in Azure Synapse Analytics](/azure/synapse-analytics/sql/query-delta-lake-format) and [!INCLUDE[sssql22-md](../../includes/sssql22-md.md)].
4040

4141
## Syntax
4242

@@ -122,27 +122,24 @@ WITH (
122122

123123
### [Delta table](#tab/delta)
124124
```syntaxsql
125-
-- Create an external file format for delta table files.
125+
-- Create an external file format for delta table files (serverless SQL pools in Synapse analytics and SQL Server 2022).
126126
CREATE EXTERNAL FILE FORMAT file_format_name
127127
WITH (
128128
FORMAT_TYPE = DELTA
129+
-- DATA_COMPRESSION is available only in SQL Server
129130
[ , DATA_COMPRESSION = {
130131
'org.apache.hadoop.io.compress.SnappyCodec'
131132
| 'org.apache.hadoop.io.compress.GzipCodec' }
132133
]);
133134
```
134-
135-
> [!NOTE]
136-
> [!INCLUDE[synapse-analytics-od-unsupported-syntax](../../includes/synapse-analytics-od-unsupported-syntax.md)]
137-
138135
---
139136

140137
## Arguments
141138
*file_format_name*
142139
Specifies a name for the external file format.
143140

144141
### FORMAT_TYPE
145-
`FORMAT_TYPE = [ PARQUET | ORC | RCFILE | DELIMITEDTEXT]`
142+
`FORMAT_TYPE = [ PARQUET | ORC | RCFILE | DELIMITEDTEXT | DELTA ]`
146143

147144
Specifies the format of the external data.
148145

@@ -167,6 +164,10 @@ Specifies the format of the external data.
167164
- JSON
168165
Specifies a JSON format. Applies to Azure SQL Edge only.
169166

167+
- DELTA
168+
Specifies a Delta Lake format. Applies to serverless SQL pools in Azure Synapse Analytics and [!INCLUDE[sssql22-md](../../includes/sssql22-md.md)]
169+
170+
170171
### DATA\_COMPRESSION
171172
`DATA_COMPRESSION = *data_compression_method*`
172173
Specifies the data compression method for the external data. When DATA_COMPRESSION isn't specified, the default is uncompressed data.

0 commit comments

Comments
 (0)