Skip to content

DB::Exception: Conversion from AggregateFunction(uniq, Tuple(city String, name String)) #69732

Closed

Description

@den-crane

24.6.6.6 https://fiddle.clickhouse.com/3a334edc-0f5e-49c0-9870-9a5f1c9b29b6

---- users:
1	London	John
2	Paris	Alice
1	Berlin	Ksenia
---- users2:
1	2
2	1

24.7.6.8 https://fiddle.clickhouse.com/bfbeec0c-3c7b-4170-9e29-3e1388ba8ffe

 DB::Exception: Conversion from AggregateFunction(uniq, Tuple(city String, name String)) to
 AggregateFunction(uniq, Tuple(String, String)) is not supported: while converting source 
column city_name_uniq to destination column city_name_uniq. (CANNOT_CONVERT_TYPE)

#54881

Activity

  1. added
    unexpected behaviour
    on Sep 18, 2024
  2. Algunenano commented on Sep 26, 2024

    @Algunenano
    Member

    The issue should be investigated, but as a workaround you can disable by setting enable_named_columns_in_function_tuple=0

  3. alexey-milovidov commented on Sep 26, 2024

    @alexey-milovidov
    Member

    That will be easy to fix - we should declare AggregateFunction types different only by names of tuple arguments as equivalent.

  4. added
    warmup task
    on Sep 26, 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

    unexpected behaviourwarmup task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions