none
Databricks Python command for data load not working

    Question

  • 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)

    Even this has the same issue. forever "running". Is there any solution to this?

    PS: the first code used to work three weeks before.

    Thursday, May 9, 2019 7:53 AM

All replies

  • Hi Akhikkj_7,

    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.

    Thursday, May 9, 2019 10:44 AM
    Moderator