-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[core] format table: insert data after commit sync partitions to hms #6584
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
[core] format table: insert data after commit sync partitions to hms #6584
Conversation
…it_sync_hms * upstream/master: [core] format table: fix partition key not in the end write error (apache#6595) [core] Async snapshot expire fallback to sync mode in batch commit (apache#6593) [spark] Enable dynamic options for format table (apache#6592) [arrow] Fix that complex writers didn't reset inner writer state (apache#6591)
| .stringType() | ||
| .noDefaultValue() | ||
| .withDescription("Format table commit sync partition hive uri."); | ||
| public static final ConfigOption<String> FORMAT_TABLE_COMMIT_SYNC_PARTITION_HIVE_WAREHOUSE = |
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.
warehouse is useless, remove it.
| <td>Whether to force the use of lookup for compaction.</td> | ||
| </tr> | ||
| <tr> | ||
| <td><h5>format-table.commit.sync-partition-hive.uri</h5></td> |
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.
format-table.commit-hive-sync-url.
|
|
||
| if (options.type() == TableType.FORMAT_TABLE) { | ||
| return toFormatTable(identifier, schema, dataFileIO); | ||
| return toFormatTable(identifier, schema, dataFileIO, catalog.catalogContext()); |
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.
Already has parameter catalogContext...
JingsongLi
left a comment
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.
Can you also add a test for this? In Spark FormatTableTestBase.
ccddcf3 to
834a0e0
Compare
e7705fc to
6bf2b94
Compare
…it_sync_hms * upstream/master: [core] Fix the serialization of JindoMultiPartUploadCommitter (apache#6613) [core] Postpone mode should not mark done when still has compaction (apache#6561) [spark] Wrap the corresponding table to ensure it guarantees its capabilities (apache#6607)
60faa2f to
42f83f5
Compare
JingsongLi
left a comment
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.
+1
Purpose
format table: insert data after commit sync partitions to hms
format-table.commit-hive-sync-urlto support sync partition to hms.Tests
API and Format
Documentation