alrevuelta commented on PR #2337: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2337#issuecomment-4407659100
note. this PR does not address `tuple.-1` which seems to be valid clickhouse syntax. > Extracts an element from a tuple by index or name. > For access by index, an 1-based numeric index is expected. For access by name, the element name can be provided as a string (works only for named tuples). > Negative indexes are supported. In this case, the corresponding element is selected, numbered from the end. For example, tuple.-1 is the last element in the tuple. > An optional third argument specifies a default value which is returned instead of throwing an exception when the accessed element does not exist. All arguments must be constants. > This function has zero runtime cost and implements the operators x.index and x.name. source: https://clickhouse.com/docs/sql-reference/functions/tuple-functions#tupleelement -- 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]
