[ 
https://issues.apache.org/jira/browse/GOBBLIN-1011?focusedWorklogId=362653&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-362653
 ]

ASF GitHub Bot logged work on GOBBLIN-1011:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Dec/19 19:04
            Start Date: 23/Dec/19 19:04
    Worklog Time Spent: 10m 
      Work Description: autumnust commented on pull request #2856: 
[GOBBLIN-1011] adjust compaction flow to work with virtual partition
URL: https://github.com/apache/incubator-gobblin/pull/2856#discussion_r360972543
 
 

 ##########
 File path: 
gobblin-hive-registration/src/main/java/org/apache/gobblin/hive/HiveTable.java
 ##########
 @@ -105,16 +114,21 @@ protected void updateTablePartitionFields(State state, 
String key, Object value)
 
   public static class Builder extends HiveRegistrationUnit.Builder<Builder> {
     private List<Column> partitionKeys = Lists.newArrayList();
+    private Map<String, String> tableParameters = Maps.newHashMap();
 
     public Builder withPartitionKeys(List<Column> partitionKeys) {
       this.partitionKeys = partitionKeys;
       return this;
     }
 
+    public Builder withTableParameters(Map<String, String> tableParameters) {
 
 Review comment:
   There's reason that TableParameters are not included in the builder: We 
internally use some timestamp and record count in the table parameters. 
Including these values in the table object could cause diff-check failure and 
issue much more updatePartition call in the hive metastore. Could you double 
check with the potential write-amplification to relevant team ? 
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 362653)
    Time Spent: 1.5h  (was: 1h 20m)

> Adjust compaction flow to work with virtual partition
> -----------------------------------------------------
>
>                 Key: GOBBLIN-1011
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1011
>             Project: Apache Gobblin
>          Issue Type: Task
>            Reporter: Zhixiong Chen
>            Assignee: Zhixiong Chen
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> - Update existing `CompactionVerifier`s and `CompactionCompleteAction`s to 
> work with virtual simple file system dataset proply
> - Improve ser/de of `FileSystemDataset` in `CompactionSuiteBase`
> - Update gobblin-hive-registration to work with table parameters properly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to