alrevuelta opened a new issue, #2338:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2338
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
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]