You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched in the issues 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.
Add a case matching before executing operations. Execute QueryOperation (which returns ResultDescriptor) via executor.executeQuery, while execute other operations (which returns TableResult) via executor.executeOperation.
There're several operations that executor.executeOperation doesn't support, such as SetOperation. We may address that afterward.
Additional context
No response
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
yanghua
changed the title
[FEATURE] Extend Flink ExecuteStatement to support more operations
[SUB-TASK][KPIP-2] Extend Flink ExecuteStatement to support more operations
Jan 5, 2022
Code of Conduct
Search before asking
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
This is a sub-task of KPIP-2 #1322 .
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) viaexecutor.executeOperation
.There're several operations that
executor.executeOperation
doesn't support, such asSetOperation
. We may address that afterward.Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: