horizonzy opened a new pull request, #2013: URL: https://github.com/apache/avro/pull/2013
``` @Data @AllArgsConstructor @NoArgsConstructor public static class Person { String name; int age; String address; double score; } @Data @AllArgsConstructor @NoArgsConstructor public static class PersonV2 { String name; int age; String address; double score; @Nullable String country; @Nullable int phone; @Nullable double salary; } ``` Use personV2 schema to read personV1 data; it will throw NPE. When the basic type value is null, use the default value to populate it. -- 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: dev-unsubscr...@avro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org