You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Shreyas (Jira)" <ji...@apache.org> on 2020/02/19 04:50:00 UTC

[jira] [Created] (ZEPPELIN-4625) Color Code SQL Strings

Shreyas created ZEPPELIN-4625:
---------------------------------

             Summary: Color Code SQL Strings
                 Key: ZEPPELIN-4625
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4625
             Project: Zeppelin
          Issue Type: Improvement
            Reporter: Shreyas


This may be specific to Spark interpreter.

Zeppelin nicely applies color coding to cells that begin with %sql or %spark.sql.

This request is to bring the same color coding to sql embedded in strings as well.

For e.g.
{code:scala}
// Zeppelin paragraph
val df = spark.sql("""
  |select * from examples
  |where dt_col = date '2020-01-01'
""".stripMargin)
{code}

This feature is going to be extremely useful when trying to debug complex embedded queries etc.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)