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


   > Ah good point. One way is to eagerly execute the command when creating the 
view, so `v` is excluded from the result, but it's a bit tricky to make the 
view not lazy.
   > 
   > Another idea is to allow SHOW TABLES etc. as subqueries, e.g. `SELECT ... 
FROM (SHOW TABLES)`.
   
   Making a non lazy view sounds weird to me. We then create another kind of 
special view just for this kind of commands.
   
   The subquery approach looks more promising to me.
   


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