cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

pandas issue

gtyhchang
New Contributor II

We identify a potential bug in either DBFS or Pandas that when writting a dataframe using Pandas `to_csv`, `to_parquet`, `to_pickle` etc to a mounted ADLS location with read-only service principle didn't throw permission deny exceptions. However, methods like `to_html`, `to_latex`, `to_excel` Spark API and Python API correctly throw the error. See attached notebook screenshot. I'm guessing the issue is more likely on the Pandas IO implementation that interact with DBFS but would like to notify Databricks since how DBFS underlying implementation with cloud object is not clear.

2 REPLIES 2

Anonymous
Not applicable

@Yung-Hang Changโ€‹ :

Thank you for bringing this to our attention. It does seem like there could be a potential issue with the way Pandas interacts with DBFS, especially when writing to a mounted ADLS location with a read-only service principal.

We suggest that you file a support ticket with Databricks support team with the details of the issue, along with the notebook screenshot, so that our team can investigate and provide a resolution. You can do this by clicking on the Help icon in the Databricks workspace and selecting "Contact Databricks Support".

In the meantime, you could consider using the methods that correctly throw the permission denied error or using a different storage location with the necessary write permissions until the issue is resolved.

Anonymous
Not applicable

Hi @Yung-Hang Changโ€‹ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group