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

Revert comments in JDBC interpreter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0, 0.9.0
    • 0.8.0
    • None
    • None

    Description

      In Zeppelin the paragraph can contain multiple SQL queries delimeted by ';'.
      The original purpose of PR2518 [1] was correct processing of ';'. This was done via full removing comments from code.
      Unfortunately Apache Phoenix uses hooks in comments [2].
      Thus we should not delete comments in scripts.

      There was discussion about comment rules for different databases (solr). The right way is keep style. Thus analysts can copy queries to another tool and can get same results and errors.

      [1]. https://github.com/apache/zeppelin/pull/2158 ZEPPELIN-2279 excluded comments from SQL
      [2]. https://forcedotcom.github.io/phoenix/#hint

      Attachments

        Issue Links

          Activity

            People

              mebelousov Maxim Belousov
              mebelousov Maxim Belousov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: