You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/06/21 23:28:01 UTC

[GitHub] [hudi] n3nash commented on issue #3113: [SUPPORT] Deltastreamer Error when reading AVRO Schema with UNION Types

n3nash commented on issue #3113:
URL: https://github.com/apache/hudi/issues/3113#issuecomment-865410086


   @jkdll Can you try changing your schema as follows : 
   
   ```
   {
                               "name": "Title",
                               "type": [
                                 "null",
                                 {
                                   "type": "record",
                                   "name": "body",
                                   "namespace": "Title.additional.Payload",
                                   "fields": [
                                     {
                                       "name": "Name",
                                       "type": [
                                         "null",
                                         "string"
                                       ]
                                     },
                                     {
                                       "name": "value",
                                       "type": [
                                         "null",
                                         "string"
                                       ]
                                     }
                                   ]
                                 }
                               ],
                               "default": null
                             }
   ```
   
   The "Name" field did not have a default value NULL before. 
   
   To be able to debug this further, could you trim down your schema to provide 1 with which we can reproduce this behavior ?


-- 
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:
users@infra.apache.org