You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Sergey Sotnichenko (JIRA)" <ji...@apache.org> on 2017/01/20 11:13:26 UTC
[jira] [Created] (ZEPPELIN-1988) precode execution in
JDBCInterpreter
Sergey Sotnichenko created ZEPPELIN-1988:
--------------------------------------------
Summary: precode execution in JDBCInterpreter
Key: ZEPPELIN-1988
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1988
Project: Zeppelin
Issue Type: Improvement
Components: Interpreters
Reporter: Sergey Sotnichenko
Priority: Minor
Adding new parameter in JDBC interpreter which allows to execute some SQL while opening connection. Parameter value could be parameterized by %noteId (value will be replaced by noteId from context).
For example:
|parameter|value|SQL executable|
|default.precode|select 1;|select 1;|
|default.precode|set application_name=%noteId;|set application_name='2C7MP5HD3';|
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)