db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-3971) select * from new SPACETABLE ('<tablename>') t; throws an error
Date Wed, 06 May 2009 23:38:30 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kathey Marsden closed DERBY-3971.

    Resolution: Invalid

DERBY-4051 fixed the javadoc to have the correct syntax.  The original javadoc was wrong.

> select * from new SPACETABLE ('<tablename>') t; throws an error
> ---------------------------------------------------------------
>                 Key: DERBY-3971
>                 URL: https://issues.apache.org/jira/browse/DERBY-3971
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions:
>         Environment: generic
>            Reporter: Mayuresh Nirhali
>            Priority: Minor
> The alias for SpaceTable diagnostic table does not work. I can reproduce this on 10.2
trunk and also on the head.
> ij> select * from new SPACETABLE('t') ts;
> ERROR 42X01: Syntax error: SPACETABLE.
> The following works query works though,
> ij> select * from new org.apache.derby.diag.SpaceTable('schemaname','tablename') a;
> The SpaceTable.java has a javadoc comment, as below,
>     Alternatively, the table can be invoked through the system alias SpaceTable
>     <PRE> select * from new SPACETABLE('MYTABLE') t; </PRE>
> I believe either the alias should work or the javadoc comment should be corrected.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message