You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/02/11 23:15:38 UTC

[GitHub] [hudi] tooptoop4 commented on issue #630: Read RO View Exception: unable to infer schema for Parquet. It must be specified manually

tooptoop4 commented on issue #630:
URL: https://github.com/apache/hudi/issues/630#issuecomment-777858335


   After experimenting with changes on the Quickstart I got "pyspark.sql.utils.AnalysisException: Unable to infer schema for Parquet. It must be specified manually." when running:
   ```
   tripsSnapshotDF = spark. \
     read. \
     format("hudi"). \
     load(basePath + "/*/*/*/*")
   ```
   
   The solution was to change to below (check the depth of folders by running this linux command: ```find <basePath>``` ):
   ```
   tripsSnapshotDF = spark. \
     read. \
     format("hudi"). \
     load(basePath + "/*/*")
   ```


----------------------------------------------------------------
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:
users@infra.apache.org