Github user felixcheung commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/328#issuecomment-144271689
  
    I guess it's not required but the name is used as the group if absent
    Interpreter.java
    ```
      public static void register(String name, String className) {
        register(name, name, className);
      }
    
      public static void register(String name, String group, String className) {
        register(name, group, className, new HashMap<String, 
InterpreterProperty>());
      }
    
      public static void register(String name, String group, String className,
          Map<String, InterpreterProperty> properties) {
        registeredInterpreters.put(group + "." + name, new 
RegisteredInterpreter(
            name, group, className, properties));
      }
    ```
    
    Agreed if there is only one interpreter in the group then it's better to 
have `%sh` instead of `%sh.sh`
    Ideally we should know if the interpreter is the default of its group in 
that case we could list `%spark, %spark.pyspark, %spark.sql, %spark.dep`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to