Closed anandmrya closed 4 years ago
On windows when running pytest following error occured
pyspark.sql.utils.IllegalArgumentException: 'java.net.URISyntaxException: Relative path in absolute URI: file:C:/Users/ANAND~1.MAU/AppData/Local/Temp/tmp_5luqhb7'
After checking online i found that when creating spark session, hive directory should be initialised like:
file:///C:/Users/ANAND~1.MAU/AppData/Local/Temp/tmp_5luqhb7'
As you can see after file: "///" are required on windows. I checked on linux your code is working fine on that.
I've released 0.0.4 with this fix https://github.com/algattik/DataOps/commit/afbb5dbfadb5140dc232c5ecaa875cf7a79ae0c6, could you test it?
Running Okay, Thanks
On windows when running pytest following error occured
After checking online i found that when creating spark session, hive directory should be initialised like:
As you can see after file: "///" are required on windows. I checked on linux your code is working fine on that.