sijie commented on pull request #9895: URL: https://github.com/apache/pulsar/pull/9895#issuecomment-801606979
`getField` will return an empty list. `schemaType` gives the schema type. `GenericRecord` is just a container to hold either a primitive value or a struct. My main point here is to avoid introducing duplicated code between #AUTO_SCHEMA and #OBJECT. They share a lot of similarities. I want to add duplicated checking logic overall the place. ---------------------------------------------------------------- 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