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)