viirya commented on pull request #31966:
URL: https://github.com/apache/spark/pull/31966#issuecomment-813241718
> This behaivour (the col name that is internally auto-generated is visible
to a user) is expected one?
>
> ```
> scala> sql("select __auto_generated_subquery_name.col.a from (select
explode(items) from t)").show()
> +---+
> | a|
> +---+
> | 1|
> | 2|
> +---+
> ```
I can see we use it in test:
https://github.com/apache/spark/blob/0494dc90af48ce7da0625485a4dc6917a244d580/sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala#L2788
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]