amoro icon indicating copy to clipboard operation
amoro copied to clipboard

Does Amoro provide Java API to external users

Open jerui opened this issue 1 year ago • 6 comments

Description

Does Amoro provide Java API to external users

Use case/motivation

No response

Describe the solution

No response

Subtasks

No response

Related issues

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

jerui avatar Dec 09 '24 09:12 jerui

Do you mean whether the Amoro server provides Java API to external users? Currently, users can use rest API to contact the Amoro server, and after #3296 has been merged, I think we can generate the SDK if needed, @mansonliwh @czy006 could you please help to give more details here, thanks.

klion26 avatar Dec 16 '24 06:12 klion26

@jerui @klion26 We offer two ways to use the Java API:

  1. Specify -P generate-sdk during compilation, which will automatically generate the Java API. The generated code will be located at amoro/amoro-ams/target/generated-sources/openapi.
  2. Use the YAML file provided at amoro/amoro-ams/src/main/resources/openapi/openapi.yaml to generate API documentation with external tools such as OpenAPI Generator and Swagger Editor.

mansonliwh avatar Dec 16 '24 07:12 mansonliwh

@jerui @klion26 We offer two ways to use the Java API:

  1. Specify -P generate-sdk during compilation, which will automatically generate the Java API. The generated code will be located at amoro/amoro-ams/target/generated-sources/openapi.
  2. Use the YAML file provided at amoro/amoro-ams/src/main/resources/openapi/openapi.yaml to generate API documentation with external tools such as OpenAPI Generator and Swagger Editor.

Does Amoro provide Java APIs that support creating tables, creating libraries, deleting databases, deleting tables, modifying table fields, and modifying partitions

jerui avatar Dec 23 '24 06:12 jerui

Do you mean whether the Amoro server provides Java API to external users? Currently, users can use rest API to contact the Amoro server, and after #3296 has been merged, I think we can generate the SDK if needed, @mansonliwh @czy006 could you please help to give more details here, thanks.

Does AMORO provide APIs that support building libraries and tables, deleting libraries and tables, modifying partitions, creating new partitions, and modifying fields, as well as creating mixed iceberg and mixed hive tables

jerui avatar Dec 23 '24 07:12 jerui

Creating tables provided by computing engines, such as https://iceberg.apache.org/docs/nightly/spark-getting-started/#creating -A-table. Currently, Amoro only provides Controller Rest API @jerui

czy006 avatar Jan 14 '25 11:01 czy006

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

jerui avatar Jan 14 '25 11:01 jerui

This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

github-actions[bot] avatar Jul 14 '25 00:07 github-actions[bot]

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

jerui avatar Jul 14 '25 00:07 jerui