YannByron commented on pull request #2903:
URL: https://github.com/apache/hudi/pull/2903#issuecomment-1016029629


   @nsivabalan All the failed DML is for an empty table but with failed write 
first?
   If yes, that's because `EmptyRelation` returns Empty Schema, and Spark can't 
resolve the attributes in conditions and assignments.
   
   If the table is created by Spark-SQL, the right schema can be returned 
correctly. If not, throwing an exception is right and can't fix it.
   if you don't mind, i'll submit a pr to your branch.


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