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)

Reply via email to