[
https://issues.apache.org/jira/browse/TAJO-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220637#comment-14220637
]
ASF GitHub Bot commented on TAJO-1183:
--------------------------------------
GitHub user gyias opened a pull request:
https://github.com/apache/tajo/pull/266
TAJO-1183: Keep command execution even with errors
Fixes TAJO-1183 by making tsql execute all parsed commands even if it
runs into errors in the middle.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gyias/tajo error
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/266.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #266
----
commit 64da5df6191e25f9215ce84d3d5f410d21c0d84e
Author: Jaewoong Jung <[email protected]>
Date: 2014-11-21T07:58:51Z
TAJO-1183: Keep command execution even with errors
Fixes TAJO-1183 by making tsql execute all parsed commands even if it
runs into errors in the middle.
----
> Some statements are seemingly ignored when multiple statements are entered in
> one line.
> ---------------------------------------------------------------------------------------
>
> Key: TAJO-1183
> URL: https://issues.apache.org/jira/browse/TAJO-1183
> Project: Tajo
> Issue Type: Bug
> Reporter: Jaewoong Jung
> Assignee: Jaewoong Jung
> Priority: Minor
>
> Found this while working on TAJO-1159.
> See the below example, which basically shows entering 2 SQL statements in one
> line.
> ex)
> jungjw$ $TAJO_HOME/bin/tsql
> Try \? for help.
> default> select * from table1; select * from table2;
> ERROR: relation "default.table1" does not exist
> default>
> As you can see, I'm not seeing the error message for "select * from table2"
> statement. I don't know yet whether the statement itself is completely
> ignored or tsql is just showing only one error message here, though. I'm
> guessing that tsql stops executing following statements if it runs into an
> error.
> Will take a closer look after resolving other issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)