[JBoss JIRA] Closed: (TEIID-46) Fully-qualified names should not be required when referencing virtual procedures that have unique unqualified names
by Steve Hawkins (JIRA)
[ https://jira.jboss.org/browse/TEIID-46?page=com.atlassian.jira.plugin.sys... ]
Steve Hawkins closed TEIID-46.
------------------------------
> Fully-qualified names should not be required when referencing virtual procedures that have unique unqualified names
> -------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-46
> URL: https://jira.jboss.org/browse/TEIID-46
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.0
> Reporter: Michael Walker
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 7.0
>
>
> This problem occurs in our transformation editor, and also occurs with real-time queries (e.g. from QueryBuilder/SQLExplorer, or any client).
> If you reference a non-qualified table name, e.g. "myTable", in a query, we'll attempt to resolve it if it is a unique name.
> Strangely, we don't do the same thing for virtual procedures, even if they are unique. Instead, you must use the fully-qualified name. There should be no disparity. This is a usability defect.
> This also happens to greatly extend the size of virtual procedure code, making it harder to read and debug.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (TEIID-866) AdminShell is not able to handle SELECT * INTO #TEMP FROM foo; (statement does not return a result set)
by Paul Nittel (JIRA)
AdminShell is not able to handle SELECT * INTO #TEMP FROM foo; (statement does not return a result set)
-------------------------------------------------------------------------------------------------------
Key: TEIID-866
URL: https://jira.jboss.org/jira/browse/TEIID-866
Project: Teiid
Issue Type: Bug
Components: Tools
Affects Versions: 6.2.0
Environment: Fedora 10, 6.2 Stable (GA)
Reporter: Paul Nittel
Assignee: Steven Hawkins
Here's the crux of the issue:
select * into #temp from bqt1.smalla;
// Error: // Uncaught Exception: TargetError : at Line: 165 : in file: URL: jar:file:/home/pnittel/teiid62/adminshell/lib/teiid-adminshell-6.2.0.jar!/scripts/jdbc.bsh : throw e ;
Target exception: com.metamatrix.jdbc.MMSQLException: Statement does not return a result set.
Steve H. put it this way:
"The into clause turns the statement into an insert, which does not have a result set - it only returns an update count. It does seem like AdminShell should handle that case. It's probably doing some parsing of the command and expecting it to return a resultset..."
This same statement works fine in SQL Explorer.
--
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
16 years, 2 months
[JBoss JIRA] Closed: (TEIID-693) Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
by Steve Hawkins (JIRA)
[ https://jira.jboss.org/browse/TEIID-693?page=com.atlassian.jira.plugin.sy... ]
Steve Hawkins closed TEIID-693.
-------------------------------
> Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
> -----------------------------------------------------------------------------------------------
>
> Key: TEIID-693
> URL: https://jira.jboss.org/browse/TEIID-693
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Reporter: Larry O'Leary
> Assignee: Larry O'Leary
> Priority: Minor
> Fix For: 6.2.0
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> When comparing the following command objects the commands evaluate as equal when performing c1.equals(c2) even though the criteria is different in the two commands:
> c1 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey AND bqt1.smallb.intnum = 1
> c2 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey
> This is due to the method com.metamatrix.query.sql.lang.JoinPredicate.equals(Object obj) referencing itself when getting the criteria from itself and the obj being passed in:
> ...
> List thisCrit = this.getJoinCriteria();
> ...
> List otherCrit = this.getJoinCriteria();
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months