Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4389

Calls to ROW and anonymous row operators sometimes print too many spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.27.0
    • None
    • None

    Description

      Calls to ROW and anonymous row operators sometimes print too many spaces. For example, "VALUES (1, TRUE)" is converted to SQL as

      VALUES  (1, TRUE)
      

      (Note two spaces after "VALUES".)

      The cause is that the argument to VALUES is initially represented as a call to the ROW operator, "ROW (1, TRUE)", and later converted to a call to the anonymous row operator. The anonymous row operator, whose name is " " (one space), does not to be preceded by white space, but the one white space " " has already been printed.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: