You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Lee moon soo (JIRA)" <ji...@apache.org> on 2015/05/09 06:11:59 UTC

[jira] [Created] (ZEPPELIN-74) Change interpreter selection from %[Name] to %[Group].[Name]

Lee moon soo created ZEPPELIN-74:
------------------------------------

             Summary: Change interpreter selection from %[Name] to %[Group].[Name]
                 Key: ZEPPELIN-74
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-74
             Project: Zeppelin
          Issue Type: Improvement
            Reporter: Lee moon soo


Currently, to select interpreter, user have two options. 
 
* select interpreter by using '\%\[Name]' in the beginning of paragraph
* omit '\%\[Name]' to select default interpreter.

As more backend system integrated into Zeppelin, I propose new way of selecting interpreter.

* select interpreter by using '%\[Group].\[Name]' in the beginning of paragraph
* omit '\[Name]' selects first available interpreter in the '\[Group]'
* omit '\[Group]' selects default '\[Group]' of binded interpreter to specific note.


For example

Let's say there're four interpreters. 'spark' and 'sql'  in interpreter group 'spark', 'ignite' and 'sql' in interpreter group 'ignite'.

Basic usage will be 
'\%spark.spark', '\%spark.sql', '\%ignite.ignite', '\%ignite.sql'.

If we can omit name. then it'll be select first interpreter in the group. so can be used like
'\%spark', '\%spark.sql', '\%ignite', '\%ignite.sql'.

When notebook is configured group 'ignite' as a default interpreter, we can omit group like,
'\%spark', '\%spark.sql', '' (equals to '\%ignite'), '%sql' (equals to '%ignite.sql')





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