MikeThomsen commented on a change in pull request #5900:
URL: https://github.com/apache/nifi/pull/5900#discussion_r835954170
##########
File path:
nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/nifi-avro-record-utils/src/test/resources/org/apache/nifi/avro/schema.json
##########
@@ -1,20 +1,20 @@
[ {
- "namespace" : "net.a",
- "type" : "record",
- "name" : "O",
- "fields" : [ {
- "name" : "hash",
- "type" : [ "null", {
- "type" : "map",
- "values" : "string"
- } ]
- } ]
-}, {
"namespace" : "net.a",
"type" : "record",
"name" : "A",
"fields" : [ {
"name" : "o",
- "type" : [ "null", "O" ]
+ "type" : [ {
Review comment:
This appears to have changed with the parsing functionality in 1.9+.
Under 1.10 and 1.11, the Avro API was not able to the first type and reference
it in the second type until it was embedded in the second type as shown here.
--
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]