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

ASF GitHub Bot commented on TAJO-1062:
--------------------------------------

Github user mhthanh commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/156#discussion_r18077313
  
    --- Diff: tajo-docs/src/main/sphinx/tsql/execute_file.rst ---
    @@ -0,0 +1,63 @@
    +*********************************
    +Executing Queries from Files
    +*********************************
    +
    +
    +-----------------------------------------------
    +Basic usages
    +-----------------------------------------------
    +
    +
    +Tajo can execute more queries that were saved to a file using the -f file 
argument as follows:
    +
    +.. code-block:: sql
    +
    +  $ cat aggregation.sql
    +  select count(*) from table1;
    +  select sum(score) from table1;
    +
    +  $ bin/tsql -f aggregation.sql
    +  Progress: 0%, response time: 0.216 sec
    +  Progress: 0%, response time: 0.217 sec
    +  Progress: 100%, response time: 0.331 sec
    +  ?count
    +  -------------------------------
    +  5
    +  (1 rows, 0.331 sec, 2 B selected)
    +  Progress: 0%, response time: 0.203 sec
    +  Progress: 0%, response time: 0.204 sec
    +  Progress: 50%, response time: 0.406 sec
    +  Progress: 100%, response time: 0.769 sec
    +  ?sum
    +  -------------------------------
    +  15.0
    +  (1 rows, 0.769 sec, 5 B selected)
    +
    +
    +
    +-----------------------------------------------
    +Setting parameter value in SQL file
    +-----------------------------------------------
    +
    +If you wish to set a parameter value in the SQL file, you can set with the 
-param key=value option.When you use this feature, you have to use the 
parameter in the file as follows:
    --- End diff --
    
    Typo: "option.When" -> "option. When"


> Update TSQL documentation
> -------------------------
>
>                 Key: TAJO-1062
>                 URL: https://issues.apache.org/jira/browse/TAJO-1062
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>             Fix For: 0.9.0
>
>
> TSQL is very useful tool for tajo users. But currently, we don't provide 
> enough informations to users. Thus, we need to add more informations to 
> following documentation.
> http://tajo.apache.org/docs/current/cli.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to