Replies: 1 comment 2 replies
-
It is better to discussion in the dev mailing list |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Motivation
Since the iceberg has some spark procedures to manage the iceberg table and KPIP-1 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.
Design
The KyuubiServer converts JSON parameters of REST API to a Spark SQL of Iceberg procedure, and then it will submit this SQL job.
Need to implement a total of 12 procedures:
Implementation
REST API path sample
POST /${version}/sessions/${sessionHandle}/operations/iceberg/procedure/${procedure_name}
Example: /v1/sessions/${sessionHandle}/operations/iceberg/procedure/rewriteDataFiles
REST API JSON example (rewrite_data_files)
converted Spark SQL sample
Beta Was this translation helpful? Give feedback.
All reactions