techdocsmith commented on a change in pull request #11541:
URL: https://github.com/apache/druid/pull/11541#discussion_r686469331
##########
File path: docs/ingestion/data-formats.md
##########
@@ -422,11 +427,20 @@ Multiple Instances:
### Avro OCF
-> You need to include the
[`druid-avro-extensions`](../development/extensions-core/avro.md) as an
extension to use the Avro OCF input format.
+To load the Avro OCF input format, load the Druid Avro extension
([`druid-avro-extensions`](../development/extensions-core/avro.md)).
-> See the [Avro Types](../development/extensions-core/avro.md#avro-types)
section for how Avro types are handled in Druid
+See the [Avro Types](../development/extensions-core/avro.md#avro-types)
section for how Avro types are handled in Druid
-The `inputFormat` to load data of Avro OCF format. An example is:
+Configure the Avro OCF `inputFormat` to load Avro OCF data as follows:
+
+| Field | Type | Description | Required |
+|-------|------|-------------|----------|
+|type| String| This should be set to `avro_ocf` to read Avro OCF file| yes |
+|flattenSpec| JSON Object |Define a [`flattenSpec`](#flattenspec) to extract
nested values from a Avro records. Note that only 'path' expression are
supported ('jq' is unavailable).| no (default will auto-discover 'root' level
properties) |
Review comment:
I didn't touch this one, can we fix in another PR
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]