MaxGekk opened a new pull request #34600:
URL: https://github.com/apache/spark/pull/34600


   ### What changes were proposed in this pull request?
   In the PR, I propose to allow ANSI intervals: year-month and day-time 
intervals in the `ALTER TABLE .. ADD COLUMNS` command for tables in v1 and v2 
In-Memory catalogs (v1 Hive external catalog doesn't support the command). Also 
added an unified test suite to migrate related tests in the future.
   
   ### Why are the changes needed?
   To improve user experience with Spark SQL. After the changes, users will be 
able to add columns with ANSI intervals instead of dropping and creating new 
table.
   
   ### Does this PR introduce _any_ user-facing change?
   In some sense, yes. After the changes, the command doesn't output any error 
message.
   
   ### How was this patch tested?
   By running new test suite:
   ```
   $ build/sbt "test:testOnly *AlterTableAddColumnsSuite"
   ```


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