Skip to content

Commit d0040a0

Browse files
committed
Freshness and formatting updates
1 parent 145eab7 commit d0040a0

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

articles/synapse-analytics/sql/create-use-views.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Create and use views in serverless SQL pool
33
description: In this section, you'll learn how to create and use views to wrap serverless SQL pool queries. Views will allow you to reuse those queries. Views are also needed if you want to use tools, such as Power BI, in conjunction with serverless SQL pool.
44
author: azaricstefan
55
ms.service: azure-synapse-analytics
6-
ms.topic: overview
6+
ms.topic: how-to
77
ms.subservice: sql
8-
ms.date: 05/20/2020
8+
ms.date: 12/06/2024
99
ms.author: stefanazaric
1010
ms.reviewer: whhender, wiassaf
1111
---
@@ -53,7 +53,7 @@ The view uses an `EXTERNAL DATA SOURCE` with a root URL of your storage, as a `D
5353

5454
### Delta Lake views
5555

56-
If you are creating the views on top of Delta Lake folder, you need to specify the location to the root folder after the `BULK` option instead of specifying the file path.
56+
If you're creating the views on top of Delta Lake folder, you need to specify the location to the root folder after the `BULK` option instead of specifying the file path.
5757

5858
> [!div class="mx-imgBorder"]
5959
>![ECDC COVID-19 Delta Lake folder](./media/shared/covid-delta-lake-studio.png)
@@ -100,7 +100,7 @@ When using JOINs in SQL queries, declare the filter predicate as NVARCHAR to red
100100

101101
### Delta Lake partitioned views
102102

103-
If you are creating the partitioned views on top of Delta Lake storage, you can specify just a root Delta Lake folder and don't need to explicitly expose the partitioning columns using the `FILEPATH` function:
103+
If you're creating the partitioned views on top of Delta Lake storage, you can specify just a root Delta Lake folder and don't need to explicitly expose the partitioning columns using the `FILEPATH` function:
104104

105105
```sql
106106
CREATE OR ALTER VIEW YellowTaxiView
@@ -124,7 +124,7 @@ For more information, review [Synapse serverless SQL pool self-help page](resour
124124

125125
## JSON views
126126

127-
The views are the good choice if you need to do some additional processing on top of the result set that is fetched from the files. One example might be parsing JSON files where we need to apply the JSON functions to extract the values from the JSON documents:
127+
The views are the good choice if you need to do some extra processing on top of the result set that is fetched from the files. One example might be parsing JSON files where we need to apply the JSON functions to extract the values from the JSON documents:
128128

129129
```sql
130130
CREATE OR ALTER VIEW CovidCases
@@ -191,12 +191,6 @@ ORDER BY
191191

192192
When you query the view, you may encounter errors or unexpected results. This probably means that the view references columns or objects that were modified or no longer exist. You need to manually adjust the view definition to align with the underlying schema changes.
193193

194-
## Next steps
194+
## Related content
195195

196196
For information on how to query different file types, refer to the [Query single CSV file](query-single-csv-file.md), [Query Parquet files](query-parquet-files.md), and [Query JSON files](query-json-files.md) articles.
197-
198-
- [What's new in Azure Synapse Analytics?](../whats-new.md).
199-
- [Best practices for serverless SQL pool in Azure Synapse Analytics](best-practices-serverless-sql-pool.md)
200-
- [Troubleshoot serverless SQL pool in Azure Synapse Analytics](resources-self-help-sql-on-demand.md)
201-
- [Troubleshoot a slow query on a dedicated SQL Pool](/troubleshoot/azure/synapse-analytics/dedicated-sql/troubleshoot-dsql-perf-slow-query)
202-
- [Synapse Studio troubleshooting](../troubleshoot/troubleshoot-synapse-studio.md)

0 commit comments

Comments
 (0)