You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "HyukSoo Chang (JIRA)" <ji...@apache.org> on 2016/11/17 09:41:58 UTC

[jira] [Created] (ZEPPELIN-1680) how to pass parameters to jdbc paragraph

HyukSoo Chang created ZEPPELIN-1680:
---------------------------------------

             Summary: how to pass parameters to jdbc paragraph
                 Key: ZEPPELIN-1680
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1680
             Project: Zeppelin
          Issue Type: Wish
          Components: Interpreters
    Affects Versions: 0.6.2
         Environment: CentOS 7.0 64-bit
            Reporter: HyukSoo Chang
            Priority: Minor


I am using jdbc paragraph as following:
%jdbc
select count(*) CNT, sum(PRICE_TTAL) TOTAL from M_ORDER 
where INPT_DATE >= '${startDate}' and INPT_DATE <= '${endDate}'
	and ORDER_STATUS = 'PAID'; 

I'd like get startDate and endDate in the other paragraph (using md or angular) and pass them to jdbc paragraph.
Is it possible to pass parameters to jdbc paragraph?



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