[JBoss JIRA] Updated: (TEIID-169) We should clarify the one-to-one relationship between Batch interface and BasicBatch class in the Connector API
by Ramesh Reddy (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-169?page=com.atlassian.jira.plug... ]
Ramesh Reddy updated TEIID-169:
-------------------------------
Component/s: Connector API
Fix Version/s: 6.0.0
Affects Version/s: 6.0.0
> We should clarify the one-to-one relationship between Batch interface and BasicBatch class in the Connector API
> ----------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-169
> URL: https://jira.jboss.org/jira/browse/TEIID-169
> Project: Teiid
> Issue Type: Feature Request
> Components: Connector API
> Affects Versions: 6.0.0
> Reporter: Greg Haber
> Assignee: Steven Hawkins
> Priority: Optional
> Fix For: 6.0.0
>
>
> When a connector implements the BatchedExecution interface, it is required to implement a method nextBatch() that returns a Batch. Batch is an interface, and technically can be implemented however the connector developer wants, as long as it implements "void addRow(List row)" and "List[] getResults()" - the implementation could theoretically store the current Batch state internally in a structure that was not a List[] and just do the needed conversions in these two methods.
> However, in every known connector the implementation of BatchedExecution just uses the BasicBatch implementation we provide for Batch, which takes the straightforward path and stores the batch internally as an ArrayList.
> This best practice is not obvious from the API itself (or even from the doc) - in the legacy MetaMatrix product we have had an instance where a developer built his own implementation of Batch (and somehow ran into trouble doing so).
> Perhaps we should make this best practice more obvious - one thought is that Batch should be an abstract class rather than an interface - or perhaps BatchedExecution should require that nextBatch return BasicBatch or an extension of BasicBatch - or perhaps we should leave the API as is in this regard and just highlight this in the doc (and javadoc).
--
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, 10 months
[JBoss JIRA] Updated: (TEIID-196) Support creation of temp tables on physical sources.
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-196?page=com.atlassian.jira.plug... ]
Steven Hawkins updated TEIID-196:
---------------------------------
Component/s: Connector API
Query Engine
Fix Version/s: 6.1.0
Affects Version/s: 6.0.0
Affects: [Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration, Release Notes]
Complexity: High
> Support creation of temp tables on physical sources.
> ----------------------------------------------------
>
> Key: TEIID-196
> URL: https://jira.jboss.org/jira/browse/TEIID-196
> Project: Teiid
> Issue Type: Feature Request
> Components: Connector API, Query Engine
> Affects Versions: 6.0.0
> Reporter: Ken Johnson
> Fix For: 6.1.0
>
>
> This is a multi-part request.
> First, the system should support creation of temporary tables using a physical backing store rather than buffer manger. Given multi-pass SQL's heavy use of temp tables, buffer manager can easily be overloaded with large interim results stored in temp tables.
> Second, this should be a user-configurable behavior. For example, user might be able to choose a system-level or session-level default from among:
> -- memory/cache
> -- a source represented by a connector binding
> -- a distinct temp source defined with it's own connection parameters (possibly another schema in the repository DB instance)
> Ideally default selectoin should be override-able at temp table creation time through a DDL extension
> In the case where multiple temp tables have been created on a source via connector, the query planner should recognize this and leverage pushdown to the temp store when later query passes access multiple temp tables.
--
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, 10 months