Skip to content

Inconsistent formatting of semi-duplicate tuples #82832

@alexey-milovidov

Description

@alexey-milovidov

Today got the same issue with this query:

SELECT (1,1) c0, (1,(1)) c0;

<Fatal> : Logical error: 'Inconsistent AST formatting: the query:

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

Was parsed and formatted back as:

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

Originally posted by @PedroTadim in #68296

Metadata

Metadata

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