JingGe opened a new pull request #19024:
URL: https://github.com/apache/flink/pull/19024
## What is the purpose of the change
There was an issue while chaning the AvroParquetFileReadITCase to read
reflect data from parquet file created with generic record schema. The reason
is that user schema used in test is defined only for Avro GenericRecord. In
order to make it support reflect record read, a namespace is required, so that
the program is able to find the class to do reflection.
I have updated the user schema and add one UT to cover this case. Thanks for
pointing it out.
## Brief change log
- introduce a local User class
- add namespace into the user schema
- add one UT to cover this scenario
## Verifying this change
This change is already covered by existing tests, such as
AvroParquetRecordFormatTest.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / **no**)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (yes / **no**)
- The serializers: (yes / **no** / don't know)
- The runtime per-record code paths (performance sensitive): (yes / **no**
/ don't know)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / **no** / don't
know)
- The S3 file system connector: (yes / **no** / don't know)
## Documentation
- Does this pull request introduce a new feature? (yes / **no**)
--
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]