viirya commented on pull request #32442:
URL: https://github.com/apache/spark/pull/32442#issuecomment-834651803


   > CTE looks better if you want to use self join
   > 
   > ```
   > WITH s AS (SHOW TABLES) SELECT ... FROM s left JOIN s right ON left.xxx = 
right.xxx
   > ```
   
   Okay, sounds good. BTW, after #31548, we can also put it in FROM clause, 
right?


-- 
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]

Reply via email to