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: 

Not able to parse .doc extension file using scala in databricks notebook?

rammy
Contributor III

I could able to parse .doc extension files using Java programming with the help of POI libraries but when trying to convert Java code into Scala i expect it has to work with same java libraries with Scala programming but it is showing with below error even after adding respective Java library

error screenshot 

Jar dependencies 

Appreciate any help in unblocking me to proceed forward.

My requirement is to parse .doc extension files so any other alternative also should be fine with me.

1 REPLY 1

UmaMahesh1
Honored Contributor III

Hi @Ramesh Bathini​ 

In pyspark, we have a docx module. I found that to be working perfectly fine. Can you try using that ?

Documentation and stuff could be found online.

Cheers...

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!