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

   ### What changes were proposed in this pull request?
   
   Support INSERT INTO commands with user specified column lists with DEFAULT 
values.
   
   For example:
   
   ```
   CREATE TABLE t (x INT DEFAULT 42, y STRING DEFAULT "abc") USING PARQUET;
   INSERT INTO t (y) VALUES ("def");
   SELECT x, y FROM t;
   > 42, "def"
   ```
   
   ### Why are the changes needed?
   
   This PR allows INSERT INTO commands with explicit user specified column 
lists to benefit from DEFAULT column support, in addition to those without. 
This expands the functionality provided by this feature.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, more types of INSERT INTO commands may use DEFAULT values.
   
   ### How was this patch tested?
   
   This PR adds additional 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: [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