Skip to content

column is not in group by when using toTypeName #54910

Closed

Description

@fancyqlx

You have to provide the following information whenever possible.

Describe what's wrong

image

Does it reproduce on recent release?

it reproduced in 23.7.1

How to reproduce

SELECT toTypeName(stat_standard_id) AS stat_standard_id_1, count(1) AS value FROM ( SELECT 'string value' AS stat_standard_id ) GROUP BY stat_standard_id_1 LIMIT 1

Activity

  1. added
    potential bug
    on Sep 22, 2023
  2. nickitat commented on Sep 22, 2023

    @nickitat
    Member

    works with analyser

  3. added
    bug
    minor
    and removed
    potential bug
    on Sep 22, 2023
  4. added a commit that references this issue on Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugminor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions