trushev opened a new pull request, #7637: URL: https://github.com/apache/hudi/pull/7637
As mentioned here https://github.com/apache/hudi/pull/7584#issuecomment-1370531069, `JsonRowDataDeserializationSchema` should be opened in flink 1.16. This PR do open the deserializer in all places of use ### Change Logs 1. Moved `JsonDeserializationFunction` from test utils to main utils. It is needed to do the fixes below 1. Synchronized quickstart `ContinuousFileSource` with main utils `ContinuousFileSource` 1. Fixed several tests freezing with NPE in `ITTestDataStreamWrite` ``` [Map -> row_data_to_hoodie_record (4/4)#3] WARN org.apache.flink.runtime.taskmanager.Task [] - Map -> row_data_to_hoodie_record (4/4)#3 (c24fd03f94105404d61b4e42c1d737cb_20ba6b65f97481d5570070de90e4e791_3_3) switched from RUNNING to FAILED with failure cause: java.lang.NullPointerException at org.apache.hudi.avro.HoodieAvroUtils.getFieldVal(HoodieAvroUtils.java:515) at org.apache.hudi.avro.HoodieAvroUtils.getNestedFieldVal(HoodieAvroUtils.java:548) at org.apache.hudi.avro.HoodieAvroUtils.getNestedFieldValAsString(HoodieAvroUtils.java:533) at org.apache.hudi.keygen.KeyGenUtils.getRecordKey(KeyGenUtils.java:144) ``` ### Impact Fixed NPE in `ContinuousFileSource` and in `ITTestDataStreamWrite` ### Risk level (write none, low medium or high below) Low ### Documentation Update _Describe any necessary documentation update if there is any new feature, config, or user-facing change_ - _The config description must be updated if new configs are added or the default value of the configs are changed_ - _Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the ticket number here and follow the [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make changes to the website._ ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Change Logs and Impact were stated clearly - [ ] Adequate tests were added if applicable - [ ] CI passed -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org