Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4625

Color Code SQL Strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      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.

      // Zeppelin paragraph
      val df = spark.sql("""
        |select * from examples
        |where dt_col = date '2020-01-01'
      """.stripMargin)
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            mrbrahman Shreyas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: