afeldman1 commented on a change in pull request #1761: URL: https://github.com/apache/hudi/pull/1761#discussion_r446374024
########## File path: docs/_docs/2_3_querying_data.md ########## @@ -136,6 +136,16 @@ The Spark Datasource API is a popular way of authoring Spark ETL pipelines. Hudi datasources work (e.g: `spark.read.parquet`). Both snapshot querying and incremental querying are supported here. Typically spark jobs require adding `--jars <path to jar>/hudi-spark-bundle_2.11-<hudi version>.jar` to classpath of drivers and executors. Alternatively, hudi-spark-bundle can also fetched via the `--packages` options (e.g: `--packages org.apache.hudi:hudi-spark-bundle_2.11:0.5.3`). +### Snapshot query {#spark-snap-query} +This method can be used to retrieve the data table at the present point in time. + +```scala +val hudiIncQueryDF = spark + .read() + .format("org.apache.hudi") Review comment: Same reply as well, > This seems to be specified as "org.apache.hudi" by all the existing documentation that I can find and when I run the code as well. See example of current usage here: https://hudi.apache.org/docs/writing_data.html#datasource-writer ---------------------------------------------------------------- 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