dilipbiswal edited a comment on issue #26219: [SPARK-29563][SQL] CREATE TABLE LIKE should look up catalog/table like v2 commands URL: https://github.com/apache/spark/pull/26219#issuecomment-549717231 @viirya @cloud-fan @dongjoon-hyun I am assuming we do need a V2 implementation for this command. I have made an attempt. Since i am not entirely familiar with the V2 frame work, i may be missing something. Below are some details: - V2 implementation is constrained by what is supported in createTable. So things like, location, storage specs etc are not considered. - V1 implementation can optionally create a table by pointing to a location specified by user. Which means it can create a table which is populated with data. V2 implementation creates an empty table with just the definition from the source table. Please let me know what you guys think.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
