dusantism-db commented on PR #49445:
URL: https://github.com/apache/spark/pull/49445#issuecomment-2643491679
@cloud-fan Another question regarding ambiguity. Consider the following
situation:
```
BEGIN
x: BEGIN
DECLARE x = named_struct('x', 1);
SELECT x.x;
END;
END
```
Here we could either resolve `x.x` as `label.varName`, and return the named
struct, or we could resolve `x.x` as field `x` of struct `x`. In the former
scenario, we could access the field as `x.x.x`.
cc @srielau
--
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]