dtenedor opened a new pull request, #36475:
URL: https://github.com/apache/spark/pull/36475

   ### What changes were proposed in this pull request?
   
   Respect table capability ACCEPT_ANY_SCHEMA in DEFAULT column resolution by 
leaving such tables unchanged by any DEFAULT column resolution logic.
   
   ### Why are the changes needed?
   
   Tables with ACCEPT_ANY_SCHEMA capability declare themselves to accept 
inserted rows of any schema, so we should not add extra columns to INSERT 
VALUES lists or projections corresponding to any DEFAULT columns in the target 
table schema.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes.
   
   ### How was this patch tested?
   
   This PR introduces new unit test coverage.


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to