-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spark] UniForm supports using Hive Metastore #2120
Conversation
UniForm HMS Migration by Hao Jiang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
UniForm will use HMS as catalog instead of using file system. Closes delta-io#2120 GitOrigin-RevId: f2d863c6e91e4d5d8c2e0f373f4c0c4ad9956fb6
UniForm will use HMS as catalog instead of using file system. Closes delta-io#2120 GitOrigin-RevId: f2d863c6e91e4d5d8c2e0f373f4c0c4ad9956fb6
UniForm will use HMS as catalog instead of using file system. Closes delta-io#2120 GitOrigin-RevId: f2d863c6e91e4d5d8c2e0f373f4c0c4ad9956fb6
@VisibleForTesting | ||
void persistTable(Table hmsTable, boolean updateHiveTable) | ||
throws TException, InterruptedException { | ||
+ hmsTable.getSd().setCols(Collections.singletonList(new FieldSchema("col", "array<string>", ""))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this required, can't we just store empty cols ?
+ StorageDescriptor newsd = storageDescriptor(metadata, hiveEngineEnabled); | ||
+ newsd.getSerdeInfo().setParameters(tbl.getSd().getSerdeInfo().getParameters()); | ||
+ tbl.setSd(newsd); // set to pickup any schema changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this required for iceberg ?
UniForm will migrate to use HMS to store Iceberg table data by Hao Jiang [email protected]
Which Delta project/connector is this regarding?
Description
Allow UniForm to use Hive metastore when converting to iceberg tables
How was this patch tested?
Update existing test cases
Does this PR introduce any user-facing changes?
No