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


   Yea, a CTE is useful when it is referenced more than once like self-joins. 
But, in simple cases (e.g., filtering `SHOW` output rows as the description 
says), `SELECT * FROM (SHOW XXX) WHERE ...` seems easier, I think.


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