[ 
https://issues.apache.org/jira/browse/DERBY-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836690#action_12836690
 ] 

Derby Ciu commented on DERBY-3946:
----------------------------------

Hi Rick,

       not able to run ASTParser.java. As you suggested, I have not applied the 
derby-3946-01-aa-standaloneParser.diff patch. But still, when I try placing 
ASTParser.java in sql.compile or sql.conn packages and run it, I get similar 
errors in both cases--

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
        at 
org.apache.derby.impl.sql.compile.ASTParser.execute(ASTParser.java:85)
        at org.apache.derby.impl.sql.compile.ASTParser.main(ASTParser.java:76)

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
        at org.apache.derby.impl.sql.conn.ASTParser.execute(ASTParser.java:86)
        at org.apache.derby.impl.sql.conn.ASTParser.main(ASTParser.java:77)

Thanks,
Ciu


> Provide support for using the Derby parser to generate Abstract Syntax Trees
> ----------------------------------------------------------------------------
>
>                 Key: DERBY-3946
>                 URL: https://issues.apache.org/jira/browse/DERBY-3946
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.5.1.1
>            Reporter: Rick Hillegas
>         Attachments: ASTParser.java, ASTParser.java, ASTParser.java, 
> derby-3946-01-aa-standaloneParser.diff, TreeWalker.java, TreeWalker.java
>
>
> Users would like to be able to use the Derby parser to produce query trees 
> without actually running the queries on Derby.

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

Reply via email to