paul-rogers commented on a change in pull request #2030: Update docs for Metastore to point that all format plugins are supported URL: https://github.com/apache/drill/pull/2030#discussion_r394558865
########## File path: _docs/query-data/query-a-file-system/009-querying-avro-files.md ########## @@ -3,5 +3,30 @@ title: "Querying Avro Files" date: 2019-04-16 parent: "Querying a File System" --- - -The Avro format is experimental at this time. There are known issues when querying Avro files. + +Drill provides functionality to query [Avro](https://avro.apache.org/) files. + +Starting from Drill 1.18, Avro file format supports [Schema provisioning]({{site.baseurl}}/docs/create-or-replace-schema/#usage-notes) feature. + +#### Preparing example data + +Download the following [sample data file](https://github.com/apache/drill/blob/master/exec/java-exec/src/test/resources/avro/map_string_to_long.avro) +and place it to the `/tmp/` folder to follow the example below. + +#### Selecting data from Avro files + +To view the data in the `map_string_to_long.avro` file, issue the following query: Review comment: We can query all data from the `map_string_to_long.avro` file to see (what?) (Are we showing schema provisioning? Where did we create the schema file? Suggestion: show the file without a schema file. Identify the problem we want to fix. Create the schema file and do the query again, showing how we fixed the problem. As it is, as I tried to reword the sentence, I realized I'm not entirely clear what we're showing.) ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
