AnishMahto commented on PR #56578:
URL: https://github.com/apache/spark/pull/56578#issuecomment-4863168380

   Something else always worth considering is the "do nothing" option.
   
   Or more specifically, explicitly disallow `.load(<identifier>)` reads within 
a dataflow graph. We can throw an exception that provides an actionabe 
alternative - just use `spark.table(<identifier>)` instead.
   
   I can't think of a meaningful case today where a user would specifically 
need to do a `.load(<identifier>)` over `.table(<identifier>)`, so I think this 
is actually a reasonable option.


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

To unsubscribe, e-mail: [email protected]

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