Skip to content

Inconsistent formatting of tuple element access operator #82835

@alexey-milovidov

Description

@alexey-milovidov

I see some progress on fixing this. One more example:

SELECT (1 AS c0).1, (1 AS c0).1;

Logical error: 'Inconsistent AST formatting: the query:

SELECT tupleElement(1 AS c0, 1), tupleElement(c0, 1)

Was parsed and formatted back as:

SELECT tupleElement(1 AS c0, 1), c0.1'.

Originally posted by @PedroTadim in #68296

Metadata

Metadata

Assignees

No one assigned

    Labels

    fuzzProblem found by one of the fuzzers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions