[JBoss JIRA] Commented: (TEIID-203) Make connector capabilites more granular.
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-203?page=com.atlassian.jira.plug... ]
Steven Hawkins commented on TEIID-203:
--------------------------------------
To support reference and multi-select picklists, the easiest path would be to check pushdown element metadata for searchability. A column should not be used in sort (distinct/non-all setquery/group by) unless it is marked as SEARCHABLE=SEARCHABLE|ALL_EXCEPT_LIKE. Reference and multi-select picklists would then be marked as SUPPORTS_LIKE, which would tell use not to pushdown operations that involve ordered comparisions, but we would allow = and <> since it is implied by like.
> Make connector capabilites more granular.
> -----------------------------------------
>
> Key: TEIID-203
> URL: https://jira.jboss.org/jira/browse/TEIID-203
> Project: Teiid
> Issue Type: Feature Request
> Components: Connector API, Query Engine
> Affects Versions: 6.0.0
> Reporter: John Doyle
> Assignee: Steven Hawkins
> Fix For: 6.1.0
>
>
> Some connector capabilites are only available in combination with others. For example, if you wish to support the SupportsAggregatesCount capability, you have to also support the SupportsAggregates capability(GROUP BY and HAVING). This requirement creates additional requirements for a connector where the source syustem cabilities do not correspond with the relationships we have defined between capabilites.
> For instance, the SQL supported by salesforce can include the count(*) function, but it does not support GROUP BY or HAVING. Because we require c connector to support SupportsAggregates befrore it can support count(*), the connector is required to implement those functions if it wishes to pus down count(*).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Commented: (TEIID-244) Salesforce Connector should offer the abilty to query about object deletions.
by John Doyle (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-244?page=com.atlassian.jira.plug... ]
John Doyle commented on TEIID-244:
----------------------------------
Also need to implement the queryAll operation. Over discussion with Mike Walker we've decided to implement it in the following manner.
Every salesforce object has a IsDeleted column. This column only makes sense in the queryAll context; query will never object where isDeleted is true.
We will override the isDeleted column using the default value property. If the isDeleted column is used as a paramter in the query, and the falue is "true' we will call queryAll; is the value is false, then we will use query. If it is not used as a parameter, we use the dafault value to make the same decision.
> Salesforce Connector should offer the abilty to query about object deletions.
> -----------------------------------------------------------------------------
>
> Key: TEIID-244
> URL: https://jira.jboss.org/jira/browse/TEIID-244
> Project: Teiid
> Issue Type: Feature Request
> Components: Salesforce Connector
> Affects Versions: 6.0.0
> Reporter: John Doyle
> Assignee: John Doyle
> Fix For: 6.1.0
>
>
> Genentech wants to materialize lots of SalesForce data in Oracle, to speed up their reporting query times. It makes a significant difference because SFDC does not support joins, whereas Oracle does. Wanting the best of both worlds, they also want the data to be as fresh as possible -- ideally, the mat views would be no more than 10 minutes out-of-sync with the live data.
> The amount of data in SalesForce already takes 20+ minutes to cache, and it will slowly grow over time. So, the current materialization process will not meet the cache coherence (freshness) requirement, since the data will be stale by the time the staging table is populated and swapped in.
> How would you speed it up?
> .......response....
> I actually put together a custom materialization script
> (attached,with doc and sample config file) for Credit Suisse for doing
> these sorts of partial refreshes. It is Oracle-specific, but since
> that is what you are doing too it should work for you too.
> However, the use case at Credit Suisse was for doing these partial
> refreshes nightly, with full refreshes done weekly. There is (just as
> with our standard materialization scripts) a short period (when the
> table names are being swapped) when the materialization won't be stable
> (queries could fail or return unexpected results). I don't know if
> that makes it not suitable for doing 10 minute refreshes.
> I would recommend instead using the materialization only for historical
> data (from overnight materialization run), and unioning it to the live
> data for the newer stuff. That is, query SFDC only for data where
> createdDate or LastModifiedDate = today, and union that with the
> current data. Two issues you'd need to deal with in your logic:
> -if the same record is retrieved from both sources (meaning it was an
> existing record that had been modified today), the historical record
> should be discarded in favor of the live one.
> -deleted records - how to detect records that were deleted today? If
> you could ask SFDC exactly what was deleted today that would be great,
> but that is probably wishful thinking. So failing that you would need
> to ask SFDC for the keys for all live records, and then discard from
> the historical data any records with keys not on that list. Or, you
> could just live with having the deleted records in the view for an
> extra day...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (TEIID-544) NPE in Console In Runtime Panel, when secondary host is down
by Ramesh Reddy (JIRA)
NPE in Console In Runtime Panel, when secondary host is down
------------------------------------------------------------
Key: TEIID-544
URL: https://jira.jboss.org/jira/browse/TEIID-544
Project: Teiid
Issue Type: Bug
Affects Versions: 6.0.0
Reporter: Ramesh Reddy
Priority: Minor
Fix For: 6.1.0
java.lang.NullPointerException
at com.metamatrix.platform.admin.api.runtime.ServiceData.equals(ServiceData.java:159)
at java.util.HashMap.put(HashMap.java:376)
at com.metamatrix.console.ui.views.runtime.model.RuntimeMgmtModel.createNode(RuntimeMgmtModel.java:171)
at com.metamatrix.console.ui.views.runtime.model.RuntimeMgmtModel.addService(RuntimeMgmtModel.java:158)
at com.metamatrix.console.ui.views.runtime.model.RuntimeMgmtModel.addProcess(RuntimeMgmtModel.java:123)
at com.metamatrix.console.ui.views.runtime.model.RuntimeMgmtModel.addHost(RuntimeMgmtModel.java:107)
at com.metamatrix.console.ui.views.runtime.model.RuntimeMgmtModel.refreshImpl(RuntimeMgmtModel.java:214)
at com.metamatrix.console.ui.views.runtime.model.RuntimeMgmtModel.access$3(RuntimeMgmtModel.java:192)
at com.metamatrix.console.ui.views.runtime.model.RuntimeMgmtModel$RefreshRunner.run(RuntimeMgmtModel.java:240)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years