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


   ### What changes were proposed in this pull request?
   
   Add a quick check on the data source type in the presence of DEFAULT values 
in ALTER TABLE  ADD COLUMNS commands. Such commands are rejected by default 
until explicitly allowlisted later, since each data source will be responsible 
for returning these values when the data is not present in storage (as opposed 
to stored NULL values). 
   
   ### Why are the changes needed?
   
   This provides a way to implement support for default values in each of the 
supported data sources as appropriate. 
   
   ### Does this PR introduce _any_ user-facing change?
   
   No
   
   ### How was this patch tested?
   
   Unit tests.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to