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

Hyunsik Choi edited comment on TAJO-758 at 4/27/14 2:27 PM:
------------------------------------------------------------

+1

Thank you for your contribution. It would be a very useful feature.


was (Author: hyunsik):
+1

Thank you for your contribution. It's would be very useful feature.

> Supports parameter values in the SQL file.
> ------------------------------------------
>
>                 Key: TAJO-758
>                 URL: https://issues.apache.org/jira/browse/TAJO-758
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: Hyoungjun Kim
>            Assignee: Hyoungjun Kim
>            Priority: Trivial
>         Attachments: TAJO-758.patch, TAJO-758_2.patch
>
>
> In the case of running a SQL file in CLI mode, should be able to pass as a 
> parameter value. See bellow use case.
> test.sql
> {code:sql}
> select * from lineitem where l_tax > ${tax} and l_discount > ${discount}
> {code}
> {noformat}
> bin/tsql -f ./test.sql --param tax=10 --param discount=20
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to