[
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: 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.