-
Is there a way to name fields of a row without specifying their types? select cast(row(1,'hello') as row(x bigint, y varchar)); but if I don't want to specify It seems that it could be technically possible, as Trino can operate on unnamed rows inferring type from the context. I'm asking because we are generating SQL and do not have type information at the moment. |
Beta Was this translation helpful? Give feedback.
Answered by
martint
Apr 27, 2021
Replies: 1 comment 6 replies
-
An answer that this is not possible would also help :-) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And here's the implementation: #7774