CTTY commented on issue #14107: URL: https://github.com/apache/hudi/issues/14107#issuecomment-3584132921
I think we should define the expected behavior of `CREATE TABLE LIKE` clearly especially for how it works on MOR tables when there could be `_ro` `_rt` suffixed tables. Currently I don't see any documentation about it here: https://hudi.apache.org/docs/sql_ddl IMO, `CREATE TABLE <target_table> LIKE <source_table>` should have at least these expectations: - target_table and source_table should have different locations - It should only be used on source_table that are base table, not the _ro _rt table - When copying a MOR table, _ro / _rt table can be populated automatically Wdyt? -- 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]
