Skip to content

Commit 16844ef

Browse files
Merge pull request #33726 from jovanpop-msft/patch-50
Fabric OPENROWSET GA
2 parents 2f66529 + 90656dd commit 16844ef

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

docs/t-sql/functions/openrowset-transact-sql.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -745,10 +745,7 @@ For more examples that show using `INSERT...SELECT * FROM OPENROWSET(BULK...)`,
745745

746746
The T-SQL `OPENROWSET` function reads a content of a file in Azure Data Lake storage. You can read text/CSV or Parquet file formats.
747747

748-
The `OPENROWSET` function reads data from a file and returns it as a rowset. The `OPENROWSET` function can be referenced in the `FROM` clause of a query as if it were a table name.
749-
750-
>[!NOTE]
751-
> The `OPENROWSET` function is currently in **preview** for Microsoft Fabric.
748+
The `OPENROWSET` function reads data from a file and returns it as a rowset. The `OPENROWSET` function can be referenced in the `FROM` clause of a query as if it were a table name.
752749

753750
This article applies only to [!INCLUDE [fabric](../../includes/fabric.md)] [!INCLUDE [fabric-dw](../../includes/fabric-dw.md)]. There are functional differences between the OPENROWSET function in Fabric Warehouse and SQL analytics endpoint items.
754751

@@ -893,14 +890,14 @@ A number representing the physical index of the column that will be mapped to th
893890

894891
## Remarks
895892

896-
The features supported in the current preview are summarized in the table:
893+
The supported features are summarized in the table:
897894

898895
| Feature | Supported | Not available |
899896
|-----------------|-----------|----------------------|
900897
| **File formats**| Parquet, CSV | Delta, Azure Cosmos DB |
901898
| **Authentication**| EntraID passthrough, public storage | SAS/SAK, SPN, Managed access |
902899
| **Storage** | Azure Blob Storage, Azure Data Lake Storage | OneLake |
903-
| **Options** | Only full absolute URI in `OPENROWSET` | `DATA_SOURCE` |
900+
| **Options** | Only full/absolute URI in `OPENROWSET` | Relative URI path in `OPENROWSET`, `DATA_SOURCE` |
904901
| **Partitioning**| You can use the `filepath()` function in a query. | |
905902

906903
## Examples
@@ -913,7 +910,7 @@ In the following example you can see how to read 100 rows from a Parquet file:
913910
SELECT TOP 100 *
914911
FROM OPENROWSET(
915912
BULK 'https://pandemicdatalake.blob.core.windows.net/public/curated/covid-19/bing_covid-19_data/latest/bing_covid-19_data.parquet'
916-
) AS data;
913+
);
917914
```
918915

919916
### Read a custom CSV file
@@ -926,8 +923,7 @@ FROM OPENROWSET(
926923
BULK 'https://pandemicdatalake.blob.core.windows.net/public/curated/covid-19/bing_covid-19_data/latest/bing_covid-19_data.csv',
927924
HEADER_ROW = TRUE,
928925
ROW_TERMINATOR = '\n',
929-
FIELD_TERMINATOR = ',')
930-
AS data;
926+
FIELD_TERMINATOR = ',');
931927
```
932928

933929
### Specify the file column schema while reading a file
@@ -944,7 +940,7 @@ WITH (
944940
,deaths INT
945941
,iso2 VARCHAR(8000)
946942
,iso3 VARCHAR(8000)
947-
) AS covid_data;
943+
);
948944
```
949945

950946
<a id="reading-partitioned-data-sets"></a>

0 commit comments

Comments
 (0)