Feat/enable ctas with unmanaged hive table #15979
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Test plan - TU to create an table as a select with an external location with presto-hive plugin and a manual TI to test the creation under EMR, using a Glue catalog and seeing the results in S3 and Athena
This PR allow the creation of an unmanaged table (with external location specified) as a select result (CTAS) with Hive Plugin
Resolve #15946
Based on the trino PR #2669
Only test
hive.non-managed-table-creates-enabledand nothive.non-managed-table-writes-enabledas mentioned here when validating the right to create the table (it's not an insert ... values select ... here)== RELEASE NOTES ==
Hive Changes
hive.non-managed-table-creates-enabledset totrue