Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-51120

'format' on CREATE ANALYTICS VIEW statement results in unnatural layout

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown
    • UI 2022-Feb

    Description

      Given a CREATE ANALYTICS VIEW, where the view contents are enclosed in (), the format directive puts all of the view contents into a single line, to not break what is enclosed within the ()s. Subsequent lines are horizontally aligned with the SELECT statement after the closing of the (), further complicating the readability of the formatted statement.

      Before format:

      After format:
      ... and after horizontally scrolling the query box all the way to the right:

      Attachments

        For Gerrit Dashboard: MB-51120
        # Subject Branch Project Status CR V

        Activity

          People

            eben Eben Haber
            michael.blow Michael Blow
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty