[ 
https://issues.apache.org/jira/browse/TAJO-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

hyoungjunkim updated TAJO-758:
------------------------------

    Attachment: TAJO-758.patch

> 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
>         Attachments: TAJO-758.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