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

Validator errors when grouping by ordinals that refer to aliases

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: core
    • Labels:
      None

      Description

      In a "GROUP BY ordinal" query, validator gives invalid "Expression is not being grouped" error if column has alias.

      Patch in https://github.com/apache/calcite/pull/490.

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              gian Gian Merlino

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment