Skip to content

Clickhouse tuples not supported #2338

@alrevuelta

Description

@alrevuelta

Clickhouse tuples are not supported. The following errors ParserError("Expected: end of statement, found: .1 at Line: 1, Column: 22").

SELECT t.1 FROM x

This is a valid Clickhouse way of accessing tuple elements. See https://clickhouse.com/docs/sql-reference/functions/tuple-functions#tupleelement. It is some syntactic sugar to tupleElement(t, 1) which does work.

Request: Make the above query work, and similar ones.

SELECT t.1 FROM x
SELECT (1, 2, 3).2
SELECT arr[1].1 FROM t
SELECT arr[1].1.2 FROM t

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions