db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayuresh Nirhali (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3971) select * from new SPACETABLE ('<tablename>') t; throws an error
Date Wed, 03 Dec 2008 10:11:44 GMT
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: 10.4.2.0
         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.


Mime
View raw message