voonhous commented on PR #20012: URL: https://github.com/apache/hudi/pull/20012#issuecomment-6015470856
For reference, here is how the Spark DDL lifecycle maps onto this PR (empty tables only): | Spark SQL | This PR | |---|---| | `CREATE TABLE ... LOCATION '...'` | External, via `WITH (location = '...')`. The location must be empty. | | `DROP TABLE` (external) | Drops the catalog entry only; the data is kept. | | `DROP TABLE ... PURGE` | Not available, since Trino has no `PURGE`. | | `CREATE TABLE` (no location) | Managed, at `<schemaLocation>/<tableName>`, stamped `hudi.trino.managed=true`. | | `DROP TABLE` (managed) | Deletes data only for tables this connector created. A managed table created by Spark or hive-sync has no marker, so it keeps its data. | Could the follow-up docs carry this table? The last row in particular differs from Spark. -- 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]
