iodone commented on issue #32: URL: https://github.com/apache/incubator-kyuubi/issues/32#issuecomment-895701663
> a resource with a "statement" as the first-level resource @yanghua I strongly agree with the design of a resource with a "statement" as the first-level resource, and with @pan3793's point. The discussion can be divided into two parts: #### For user submitting SQL: First of all, a statement-based resource does simplify the SQL submission interaction, as Presto already does But based on statement resource will conflict with the overall design of kyuubi's backend service module and operation module, equivalent to HTTP API and Thrift API are two parallel solutions (this is a personal opinion) In addition, we need to consider the HTTP API and Thrift API-based authentication compatibility issues, as well as multiple kyuubi instance statement resource state (based on memory) management issues #### For administrators and operators who need to detect the state of Kyuuby thrift services: The session and operation HTTP APIs are provided to help them view and intervene in current services, including: 1. session management 2. Operation management Some of the interfaces on the @yanghua documentation can be provided as APIs related to thrift context resource management. Of course, can this part be considered by kyuubi-ctl to replace the HTTP API implementation? -- 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]
