无法使用使用Azure Synapse链接导入的数据集中的数据集中的数据集列标题读取
我已经使用PowerApps将Danivers表从Dynamics 365导入到Azure Data Lake中。
表已以CSV格式导入到ADLS容器中。我现在想使用常规的spark.csv(/mnt/lake)阅读数据中的数据。 However, the data doesn't show any column headers when it is read in.
Is there something that I'm doing wrong?
I have imported Dataverse tables from Dynamics 365 into Azure Data Lake using PowerApps.
The tables have been imported into an ADLS container in CSV format. I now want to read in the data with Databricks using the regular spark.read.csv(/mnt/lake). However, the data doesn't show any column headers when it is read in.
Is there something that I'm doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将CSV文件读取到DataFrame时,可以添加列标题。请参阅下面的示例代码以添加列标题。
请参阅此文章
You can add column headers when you read CSV file to dataframe. Refer below sample code to add column headers.
Refer this article for more information