I have tried to submit Iceberg Rewrite Data SQL to SessionsResource/executeStatement. It works and successfully get result success.
Kent Yao <y...@apache.org> 于2022年8月31日周三 14:41写道: > Oh, my bad. It's in the SessionsResource > > LuNing Wang <wang4lun...@gmail.com> 于2022年8月31日周三 14:35写道: > > > > I can't find any executeStatement method in OperationResouces. Shall we > > implement OperationResouces/executeStatement and then use > > OperationResouces to implement Iceberg REST API? > > OperationResouces/executeStatement will auto open and close a session to > > execute a SQL statement. > > > > Kent Yao <y...@apache.org> 于2022年8月23日周二 15:11写道: > > > > > Do we already support this via OperationResouces/executeStatement? > > > > > > On 2022/08/19 08:44:35 LuNing Wang wrote: > > > > Hi Kyuubi community, > > > > > > > > Since the iceberg has some spark procedures > > > > < > > > > https://iceberg.apache.org/docs/latest/spark-procedures/#spark-procedures > > > >[1] > > > > to manage the iceberg table and KPIP-1 > > > > <https://github.com/apache/incubator-kyuubi/discussions/917>[2] has > > > > introduced REST API into the Kyuubi. So we can add some iceberg > > > management > > > > REST API into Kyuubi. If so, users can only use REST API to manage > the > > > > iceberg table via Kyuubi, and some users also can config iceberg > > > management > > > > jobs in their big-data web platform via this REST API. > > > > > > > > Preliminary draft of the scheme: > > > > > > > > https://github.com/apache/incubator-kyuubi/discussions/3258 > > > > > > > > A simple demo: > > > > > > > > https://github.com/deadwind4/incubator-kyuubi/tree/iceberg_rewrite > > > > > > > > best regards, > > > > > > > > Luning Wang > > > > > > > > > > > > [1]: > > > > > > > > https://iceberg.apache.org/docs/latest/spark-procedures/#spark-procedures > > > > > > > > [2]: https://github.com/apache/incubator-kyuubi/discussions/917 > > > > > > > >