tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-79) Refactor and Improve TajoCli
Date Sun, 07 Jul 2013 12:51:48 GMT

    [ https://issues.apache.org/jira/browse/TAJO-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13701563#comment-13701563
] 

Hudson commented on TAJO-79:
----------------------------

Integrated in Tajo-trunk-postcommit #202 (See [https://builds.apache.org/job/Tajo-trunk-postcommit/202/])
    TAJO-79: Refactor and Improve TajoCli. (hyunsik) (Revision a68e4d9feea506ebd6cdde065945577de25aad6e)

     Result = SUCCESS
hyunsik : https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=a68e4d9feea506ebd6cdde065945577de25aad6e
Files : 
* tajo-dist/src/main/bin/tsql
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/cli/TajoCli.java
* CHANGES.txt
* tajo-dist/src/main/conf/tajo-env.sh
* tajo-core/tajo-core-backend/pom.xml
* tajo-common/src/main/java/org/apache/tajo/conf/TajoConf.java

                
> Refactor and Improve TajoCli
> ----------------------------
>
>                 Key: TAJO-79
>                 URL: https://issues.apache.org/jira/browse/TAJO-79
>             Project: Tajo
>          Issue Type: Improvement
>          Components: cli
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.2-incubating
>
>         Attachments: TAJO-79_2.patch, TAJO-79.patch
>
>
> This patch improves TajoCli. This improvement is not backward compatible, but this improvement
makes TajoCli  more intuitive and similar to PostgreSQL cli. So, I believe this gives users
better experience. In addition, I've added some useful options.
> In detail, the patch does as follows:
>  * Refactor TajoCli to be based on command pattern
>  * multiple lines for one SQL statement are recorded as one history
>  * command prefix '/' is replaced by '\'.
>  * the command '/t' is replaced by '\d'.
>  ** '\d' lists tables or describes a table.
>  * jline version is updated to 2.11.
>  * add a help command '\?' to list all commands that can be used in TajoCli
>  * add a cli option '-c' for running a single SQL statement or command
>  * add a cli option '-f' for executing statements included in a text file
>  * add a script 'bin/tsql'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message