[teiid-issues] [JBoss JIRA] (TEIID-4284) Implement Salesforce Bulk API for SELECTS to Salesforce Connector
sameer P (JIRA)
issues at jboss.org
Tue Oct 18 05:12:00 EDT 2016
[ https://issues.jboss.org/browse/TEIID-4284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13308301#comment-13308301 ]
sameer P commented on TEIID-4284:
---------------------------------
Hi Steven, thanks for the quick fix and the update. I have tested it and it seems to work. One small thing that it fails is when I use *Limit* in the query.
{code:java}
Error: TEIID30504 Remote org.teiid.core.TeiidProcessingException: TEIID30504 TEIID30020 Processing exception for request NUTgU8jrEfAJ.19 : InvalidBatch : Failed to process query: MALFORMED_QUERY: FROM table_name LIMIT 100 where Id >= 'a03i000000QeywZ' and ^ ERROR at Row:1:Column:334 unexpected token: where'. Originally TeiidProcessingException
SQLState: 50000
ErrorCode: 30504
{code}
May be something wrong with the placement of Limits?
> 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
(v6.4.11#64026)
More information about the teiid-issues
mailing list