dht7 commented on issue #9042:
URL: https://github.com/apache/hudi/issues/9042#issuecomment-1606839576

   Thank you @ad1happy2go for testing the issue and creating the JIRA ticket.
   
   Just wanted to add some additional details:
   
   - The source table in my case has the columns as nullable (on printSchema 
for table df in spark):
      <img width="265" alt="image" 
src="https://github.com/apache/hudi/assets/17235121/8bf74e64-9520-4eaf-a59a-1622b3c35438";>
      
      <img width="380" alt="image" 
src="https://github.com/apache/hudi/assets/17235121/d5864499-35c9-431c-998a-7fad5680f407";>
   
   - But, the avro schema does have them as non-nullable, i.e.
   ```
   {
     "type" : "record",
     "name" : "test_table_record",
     "namespace" : "hoodie.test_table",
     "fields" : [ {
       "name" : "id",
       "type" : "int"
     }, {
       "name" : "array_column1",
       "type" : [ "null", {
         "type" : "array",
         "items" : "int"
       } ]
     } ]
   }
   ```
   
   


-- 
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]

Reply via email to