DP-300 · Question #134
Hotspot Question You are building a database in an Azure Synapse Analytics serverless SQL pool. You have data stored in Parquet files in an Azure Data Lake Storage Gen2 container. Records are structur
In Azure Synapse Analytics serverless SQL pools, OPENROWSET with the Parquet format is used to read files from ADLS Gen2, and CROSS APPLY OPENJSON is used to flatten nested JSON arrays within Parquet records. To extract only address fields from a structure containing up to two ap
Question
Exhibits
Explanation
In Azure Synapse Analytics serverless SQL pools, OPENROWSET with the Parquet format is used to read files from ADLS Gen2, and CROSS APPLY OPENJSON is used to flatten nested JSON arrays within Parquet records. To extract only address fields from a structure containing up to two applicants, you would use CROSS APPLY to expand the applicants array and then select the specific address sub-fields (such as street, city, state, zip) using dot notation or JSON path expressions, ensuring each applicant's address appears as its own row.
Topics
Community Discussion
No community discussion yet for this question.

