MarcBarreiro commented on PR #7088:
URL: https://github.com/apache/hudi/pull/7088#issuecomment-1653009601
Is `'hoodie.file.index.enable': 'false'` the way to go with PySpark and
Azure Databricks? While I don't get the error
`NoSuchMethodError:
org.apache.spark.sql.execution.datasources.FileStatusCache.putLeafFiles(Lorg/apache/hadoop/fs/Path;[Lorg/apache/hadoop/fs/FileStatus;)V`
I get an empty table when reading. I need to use the glob syntax to recover
the data:
```
hudi_read_options = {
'hoodie.datasource.read.partitionpath.field': "partitionpath",
'hoodie.file.index.enable': 'false',
}
df = spark.read.format("hudi").options(**hudi_read_options).load(basePath +
"/*/*/*")
```
Is this behaviour expected when `hudi built-in FileIndex` is disabled?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]