[JBoss JIRA] (TEIID-5473) Make JDBCMetadataProcessor more extensible with protected methods
by Ken Geis (JIRA)
[ https://issues.jboss.org/browse/TEIID-5473?page=com.atlassian.jira.plugin... ]
Ken Geis commented on TEIID-5473:
---------------------------------
I'm using the Oracle driver.
I just sampled (n=1) and found that without {{-DuseFetchSizeWithLongColumn=true}}, it takes 2m48s. With it, it takes 2m11s. I'm not comfortable setting this property application-wide, but I think it could be [set on the individual connection|https://docs.oracle.com/javase/8/docs/api/java/sql/Connection....] if I override {{process(..)}} or {{getConnectorMetadata(..)}}.
Yes, I can now see a path for trying a different Oracle-specific method for fetching index information by returning false in {{getIndexInfoForTable}} and then using my own logic in the overridden {{getConnectorMetadata(..)}}. If you have any hesitation in modifying the API per my request, let me test out my hypothesis first.
> Make JDBCMetadataProcessor more extensible with protected methods
> -----------------------------------------------------------------
>
> Key: TEIID-5473
> URL: https://issues.jboss.org/browse/TEIID-5473
> Project: Teiid
> Issue Type: Feature Request
> Components: JDBC Connector
> Affects Versions: 11.1
> Reporter: Ken Geis
> Assignee: Steven Hawkins
> Fix For: 11.2
>
>
> I believe I can write a JDBCMetadataProcessor that works faster against my Oracle database. The important part to override is in getIndexes(..). This method is package-private, so I cannot override it. It would be useful to me if the method (and maybe others) were made protected so that they can be overridden.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIID-3931) Add support for odata service geospatial handling
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3931?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-3931:
---------------------------------------
Given the added importance to odata I'm going to take a fresh look at this to see if we can have more robust support.
> Add support for odata service geospatial handling
> -------------------------------------------------
>
> Key: TEIID-3931
> URL: https://issues.jboss.org/browse/TEIID-3931
> Project: Teiid
> Issue Type: Enhancement
> Components: OData
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 11.2
>
>
> We should use the Edm.Geometry type for the Teiid geometry type (we can also use system metadata to see if it's appropriate to use a geometry subtype) along with any geospatial operations that odata and Teiid support.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIID-5478) Add engine support for nth_value
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-5478:
-------------------------------------
Summary: Add engine support for nth_value
Key: TEIID-5478
URL: https://issues.jboss.org/browse/TEIID-5478
Project: Teiid
Issue Type: Sub-task
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 11.2
Due to TEIID-5475 engine support for nth_value was removed. It should be added back with frame clause support.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIID-5475) nth_value is incorrect for some initial values
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-5475?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-5475.
-----------------------------------
Resolution: Done
Resolved by removing engine support for now. Will add corrected support later.
> nth_value is incorrect for some initial values
> ----------------------------------------------
>
> Key: TEIID-5475
> URL: https://issues.jboss.org/browse/TEIID-5475
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Blocker
> Fix For: 11.2, 11.1.1
>
>
> Nth_value is returning null when not expected. For example:
> select e1, nth_value(e1, 2) over (order by e1 nulls last) from g1
> with our default data set should return 'a' for each nth_value, but instead returns null for one of the 'a' rows. The issue is that we should be considering the indexing to be relative from the start of the peer group in the frame rather than from the current index of the row.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIID-5475) nth_value is incorrect for some initial values
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-5475?page=com.atlassian.jira.plugin... ]
Work on TEIID-5475 started by Steven Hawkins.
---------------------------------------------
> nth_value is incorrect for some initial values
> ----------------------------------------------
>
> Key: TEIID-5475
> URL: https://issues.jboss.org/browse/TEIID-5475
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Blocker
> Fix For: 11.2, 11.1.1
>
>
> Nth_value is returning null when not expected. For example:
> select e1, nth_value(e1, 2) over (order by e1 nulls last) from g1
> with our default data set should return 'a' for each nth_value, but instead returns null for one of the 'a' rows. The issue is that we should be considering the indexing to be relative from the start of the peer group in the frame rather than from the current index of the row.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month