Pool1という名前のAzureSynapse Analytics ApacheSparkプールがあります。 JSONファイルをAzureData Lake StorageGen2コンテナーからPool1のテーブルにロードすることを計画しています。構造とデータ型はファイルによって異なります。 ファイルをテーブルにロードする必要があります。ソリューションは、ソースデータ型を維持する必要があります。 あなたは何をするべきか?
正解:A
Explanation Serverless SQL pool can automatically synchronize metadata from Apache Spark. A serverless SQL pool database will be created for each database existing in serverless Apache Spark pools. Serverless SQL pool enables you to query data in your data lake. It offers a T-SQL query surface area that accommodates semi-structured and unstructured data queries. To support a smooth experience for in place querying of data that's located in Azure Storage files, serverless SQL pool uses the OPENROWSET function with additional capabilities. The easiest way to see to the content of your JSON file is to provide the file URL to the OPENROWSET function, specify csv FORMAT. Reference: https://docs.microsoft.com/en-us/azure/synapse-analytics/sql/query-json-files https://docs.microsoft.com/en-us/azure/synapse-analytics/sql/query-data-storage