Databricks Python命令使数据加载无法正常工作 [英] Databricks Python command for data load not working
问题描述
bleData = sqlContext.read.format('csv')。options(header ='true',inferSchema ='true')。load('/ mnt / autoid-mount2 / Autoid.csv')
我使用此代码在已安装的blob存储中加载csv。但他的查询是"正在运行"。永远。根本没有进展。我要做什么?
我也尝试过:
bleData = sqlContext.read.format('csv').options(header='true', inferSchema='true').load('/mnt/autoid-mount2/Autoid.csv')
I used this code to load a csv in the mounted blob storage. But his query is "running" forever. No progress at all. What am I suposed to do?
I also tried:
df = spark.read.text(" / mnt /autoid-mount/Autoid.csv")
display(df)
df=spark.read.text("/mnt/autoid-mount/Autoid.csv")
display(df)
即使这也有同样的问题。永远"奔跑"。有没有解决方案?
PS:三个星期之前用来工作的第一个代码。
Even this has the same issue. forever "running". Is there any solution to this?
PS: the first code used to work three weeks before.
推荐答案
您好Akhikkj_7,
Hi Akhikkj_7,
您发布的查询尚未到达正确的论坛。为了最好地帮助您查询,我会要求您在SO =>中发布您的查询Azure Databricks专门支持。此外,在SO上添加[Azure]标记会增加可见性,因为它是
它是Microsoft赞助商标记。
The query posted by you has not reached the right forum. In order to assist best on your query, I would request you to post your query in SO => Azure Databricks dedicated support. Additionally, adding the [Azure] tag on SO will increase visibility as it is a Microsoft Sponsored tag.
https://stackoverflow.com/questions/tagged/azure-databricks
这将帮助您更快地回复查询。
This will assist you with a faster reply to your query.
这篇关于Databricks Python命令使数据加载无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!