Skip to content

numbers(N) doesn't work with WITH Caluse #13843

Closed

Description

@yamrzou

This query:

WITH 10 AS n
SELECT *
FROM numbers(n)

Or this query:

WITH cast(10, 'UInt64') AS n
SELECT *
FROM numbers(n)

Returns:

Received exception from server (version 20.6.3):
Code: 170. DB::Exception: Received from localhost:9000. DB::Exception: Bad get: has String, requested UInt64.

Activity

  1. added
    bug
    on Aug 17, 2020
  2. added and removed
    bug
    on Aug 17, 2020
  3. nikitamikhaylov commented on Mar 28, 2024

    @nikitamikhaylov
    Member

    Works with Analyzer: #23194

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions