ucx
ucx copied to clipboard
[FEATURE]: Allow Table Types to be Upgrade to Managed Delta Tables
Is there an existing issue for this?
- [X] I have searched the existing issues
Problem statement
Customers are using the UC Upgrade as an opportunity to upgrade their tables to Managed Tables [from external tables] to take advantage of features like Predictive Optimization.
Some of these tables are regular parquet tables, so upgrading to Managed Tables provides all the benefits of Delta Tables too.
Proposed Solution
- Include the ability to specify in the table mapping if the table will be upgraded to a managed table or not
- If true, then perform the necessary data migration into a managed [delta] table
- Use this mapping config to drive linting on any ETL code that might be overriding the format of the table upon write.
Things to consider:
- Should we support only certain formats (external delta, parquet) or any kind of format (orc, csv, etc.)
Additional Context
if a customer is set on using this upgrade to better organize their data estate, the not supporting this functionality may be a reason to develop custom scripts; rather than use UCX.