xuefuz commented on issue #9068: [FLINK-13195] Add create table support for 
SqlClient
URL: https://github.com/apache/flink/pull/9068#issuecomment-510597976
 
 
   @twalthr Your example of temporary table usage might be simple enough to 
make client-side caching workable. However, that's usually not the case. For 
instance, user might do
   CREATE TEMPORARY TABLE (...) WITH (..) AS SELECT ... FROM X JOIN Y ON .... 
WHERE ...
   it's not efficient to cache this at client side and execute every time when 
the temp table is referenced.
   
   The essence of the problem is that a SQL user session has a complicated 
state that cannot be easily managed by a client. Thus, the idea of stateless 
gateway, while solving some use cases (like submitting a streaming job), has 
difficulty to apply for batch cases where session state is large and 
complicated.

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


With regards,
Apache Git Services

Reply via email to