zcsizmadia edited a comment on pull request #1578:
URL: https://github.com/apache/avro/pull/1578#issuecomment-1060748274
If the `namspace` field in the schema definition is `foo.bar.ap`, the
directory structure will be `./foo/bar/ap` for that type as of now. Are you
saying that avrogen generates a single `foo.bar.ap` directory? Could you
provide an example schema definition, the generated directory structure and
your expected directory structure here?
Here is my schema:
```
{"namespace": "org.apache.avro.codegentest.testdata",
"type": "record",
"name": "NestedLogicalTypesRecord",
"doc" : "Test nested types with logical types in generated Java classes",
"fields": [
{
"name": "nestedRecord",
"type": {
"namespace": "org.apache.avro.codegentest.testdata",
"type": "record",
"name": "NestedRecord",
"fields": [
{
"name": "nullableDateField",
"type": ["null", {"type": "int", "logicalType": "date"}]
}
]
}
}]
}
```
avrogen will generate the following directory structure:
```
./org/apache/avro/codegentest/testdata/NestedLogicalTypesRecord.cs
./org/apache/avro/codegentest/testdata/NestedRecord.cs
```
--
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]