[teiid-issues] [JBoss JIRA] (TEIID-4284) Implement Salesforce Bulk API for SELECTS to Salesforce Connector

Steven Hawkins (JIRA) issues at jboss.org
Thu Oct 27 08:25:00 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-4284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13312945#comment-13312945 ] 

Steven Hawkins commented on TEIID-4284:
---------------------------------------

One of the batches beyond the first is reporting its state as Failed or NotProcessed to produce that exception.  From the docs/examples I have an assumption that the first batch in the batchinfo list will be the initiating job batch.  If that is not a valid assumption I can adjust the code.  We should be able to confirm this if you run at a trace level.  Then there will be a log of the batchInfoList - https://github.com/teiid/teiid/blob/5210b0c40e2b8e4d5f1a8b888fa9b6d8608b1f1a/connectors/connector-salesforce/src/main/java/org/teiid/resource/adapter/salesforce/SalesforceConnectionImpl.java#L563

Otherwise this exception should mean that Salesforce has rejected the work in some way.

> Implement Salesforce Bulk API for SELECTS to Salesforce Connector
> -----------------------------------------------------------------
>
>                 Key: TEIID-4284
>                 URL: https://issues.jboss.org/browse/TEIID-4284
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Salesforce Connector
>    Affects Versions: 8.13.5
>         Environment: With Salesforce datasource
>            Reporter: sameer P
>            Assignee: Steven Hawkins
>             Fix For: 9.2
>
>
> There is some huge data (many GBs) in the Salesforce which has around 1.5 million rows and doing some simple select * on it fails with QUERY_TIMEOUT.  
> The salesforce guys suggested to try Bulk API for select with PK chunking as stated in https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_code_curl_walkthrough_pk_chunking.htm . 



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)


More information about the teiid-issues mailing list