maropu commented on pull request #32303:
URL: https://github.com/apache/spark/pull/32303#issuecomment-826015290


   ```
   scala> sql("SELECT * FROM (VALUES (1), (2)) tx(a), LATERAL (SELECT a FROM 
tx) ty(a)").show()
   org.apache.spark.sql.AnalysisException: Table or view not found: tx; line 1 
pos 62;
   'Project [*]
   +- 'Join LateralJoin(Inner)
      :- SubqueryAlias tx
      :  +- Project [col1#345 AS a#346]
      :     +- LocalRelation [col1#345]
      +- 'SubqueryAlias ty
         +- 'UnresolvedSubqueryColumnAliases [a]
            +- 'Project ['a]
               +- 'UnresolvedRelation [tx], [], false
   ```
   How bout the case above? The table resolution couldn't work well.


-- 
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to