gobblin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (GOBBLIN-865) Add feature that enables PK-chunking in partition
Date Fri, 13 Sep 2019 22:18:00 GMT

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

ASF GitHub Bot logged work on GOBBLIN-865:

                Author: ASF GitHub Bot
            Created on: 13/Sep/19 22:17
            Start Date: 13/Sep/19 22:17
    Worklog Time Spent: 10m 
      Work Description: arekusuri commented on pull request #2722: GOBBLIN-865: Add feature
that enables PK-chunking in partition
URL: https://github.com/apache/incubator-gobblin/pull/2722#discussion_r324385831

 File path: gobblin-salesforce/src/main/java/org/apache/gobblin/salesforce/SalesforceSource.java
 @@ -146,12 +156,98 @@ protected void addLineageSourceInfo(SourceState sourceState, SourceEntity
   protected List<WorkUnit> generateWorkUnits(SourceEntity sourceEntity, SourceState
state, long previousWatermark) {
+    String partitionType = state.getProp(PARTITION_TYPE, "");
+    if (partitionType.equals("PK_CHUNKING")) {
+      return generateWorkUnitsPkChunking(sourceEntity, state, previousWatermark);
 Review comment:
   Thanks, will add it!
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:

Issue Time Tracking

    Worklog Id:     (was: 312402)
    Time Spent: 4.5h  (was: 4h 20m)

> Add feature that enables PK-chunking in partition 
> --------------------------------------------------
>                 Key: GOBBLIN-865
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-865
>             Project: Apache Gobblin
>          Issue Type: Task
>            Reporter: Alex Li
>            Priority: Major
>              Labels: salesforce
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
> In SFDC(salesforce) connector, we have partitioning mechanisms to split a giant query
to multiple sub queries. There are 3 mechanisms:
>  * simple partition (equally split by time)
>  * dynamic pre-partition (generate histogram and split by row numbers)
>  * user specified partition (set up time range in job file)
> However there are tables like Task and Contract are failing time to time to fetch full
> We may want to utilize PK-chunking to partition the query.
> The pk-chunking doc from SFDC - [https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/async_api_headers_enable_pk_chunking.htm]

This message was sent by Atlassian Jira

View raw message