apache / apache/gravitino

[FEATURE] List tags for a page of entity by one api request

Open
#4,574 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 15h
Merged PRs (30d)
315

Description

### Describe the feature

we can list tags (names) for only one metadata object
`http://localhost:8090/api/metalakes/:metalake/tags/:metadataObjectType/:metadataObjectFullName`

need a api that can list tags for metadata object list

### Motivation

1. I want to show the tags for catalog list page
2. 20 catalogs、 50 catalogs or more per page
3. I should request 20、 50 times or more to get all the tags
4. One-time highly concurrent api requests are something we need to avoid

### Describe the solution

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing endpoint at /api/metalakes/:metalake/tags/:metadataObjectType/:metadataObjectFullName and review the surrounding API conventions. Define the request and response behavior for multiple metadata objects, then add coverage for retrieving tags for a page in one request. Done means callers can replace the repeated per-object requests with a single API request.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.