File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
articles/synapse-analytics Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -243,15 +243,13 @@ Run the the following code in a notebook. It creates a CSV and parquet data in t
243
243
* Run the cell to analyze the parquet file with spark
244
244
* Right-click on the parquet file inside, and select New **SQL script > SELECT TOP 100 rows**, it will create a notebook with a cell like this:
245
245
```
246
- SELECT
247
- TOP 100 *
248
- FROM
249
- OPENROWSET(
246
+ SELECT TOP 100 *
247
+ FROM OPENROWSET(
250
248
BULK 'https://contosolake.dfs.core.windows.net/users/NYCTaxi/PassengerCountStats.parquet/part-00000-1f251a58-d8ac-4972-9215-8d528d490690-c000.snappy.parquet',
251
249
FORMAT='PARQUET'
252
250
) AS [r];
253
-
254
251
```
252
+
255
253
* The script will be attached to **SQL on-demand** run the script. Notice that it infers the schema from the parquet file.
256
254
257
255
You can’t perform that action at this time.
0 commit comments