zhangxinjian123 commented on issue #829: Structured Streaming read kafka
URL: https://github.com/apache/incubator-hudi/issues/829#issuecomment-521086833
 
 
   first json:
   
{"database":"zhang","table":"hao","type":"insert","ts":1555984612,"xid":90202,"commit":true,"data":{"id":7,"Name":"zhang"}}
   
   I get 7 and Zhang as values by parsing JSON to get ID and name as schemas, 
respectively. This is writable
   
   second json:
   
{"database":"zhang","table":"haow","type":"insert","ts":1555984612,"xid":90202,"commit":true,"data":{"id":6,"Name":"zhang","Age":13,"code":19}}
   
   Caused by: com.uber.hoodie.exception.HoodieException: 
com.uber.hoodie.exception.HoodieException: 
java.util.concurrent.ExecutionException: 
java.lang.ArrayIndexOutOfBoundsException: 10
   
   At first I wrote correctly, but this error occurs when there are more new 
fields than the first one.
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to