dssysolyatin commented on PR #4592: URL: https://github.com/apache/calcite/pull/4592#issuecomment-3443591750
For me, ideally, SqlValidator should not allow any SQL that isn’t supported by the SQL standard by default, and “extended” behaviors should be enabled using flags or extensions. For this case if I write: ``` WITH tbl(r) AS (VALUES(1)) SELECT ARRAY(SELECT r, r FROM tbl)[0]['r'] ``` We unify the names, and the second r gets a name like r0. However, the user doesn’t know about r0 -- 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]
