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

hyoungjunkim commented on TAJO-758:
-----------------------------------

Additionally configuration value is able to pass to Tajo Shell.
{noformat}
bin/tsql -f ./test.sql --conf tajo.cli.print.pause=false
{noformat}


> 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: hyoungjunkim
>            Assignee: hyoungjunkim
>            Priority: Trivial
>
> 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