vinothchandar commented on pull request #2475:
URL: https://github.com/apache/hudi/pull/2475#issuecomment-774542977


   >Of course it can, but it is specified by the parameter basePath=../2020/*/*
   
   I want to clarify this a bit. do you mean `val READ_PATHS_OPT_KEY = 
"hoodie.datasource.read.paths"` ?  
   
   if I do the following, I see that we reset the `path` in options to 
`basePath + "/*/*/*/*`. How does Spark parquet source know to only look for 
2020 and 2021 for e,g? 
   
   ```
   val snapshotDF1 = spark.read.format("org.apache.hudi")
         .load(basePath + "/202*/*/*/*")
   ```
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to