link3280 opened a new issue #1681:
URL: https://github.com/apache/incubator-kyuubi/issues/1681


   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the feature
   
   `ExecuteStatement` of Flink engine now supports QueryOperation only. We can 
extend it to support more operations that Flink Executor already supports. e.g. 
`ShowTableOperation`,`CreateTableOperation`, `ExplainOperation`.
   
   ### Motivation
   
   _No response_
   
   ### Describe the solution
   
   Add a case matching before executing operations. Execute QueryOperation 
(which returns ResultDescriptor) via `executor.executeQuery`, while execute 
other operations (which returns TableResult). 
   
   There may be several operations that `executor.executeQuery` doesn't 
support, such as `SetOperation`. We may address this afterward.
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


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


Reply via email to