Skip to content

[#12125] design-docs: Add tag assignment values design#12126

Draft
roryqi wants to merge 1 commit into
apache:mainfrom
qqqttt123:tag-assignment-values-design
Draft

[#12125] design-docs: Add tag assignment values design#12126
roryqi wants to merge 1 commit into
apache:mainfrom
qqqttt123:tag-assignment-values-design

Conversation

@roryqi

@roryqi roryqi commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add a design document for tag assignment values.

The design covers:

  • multiple values per tag assignment
  • allowedValues on tag creation
  • one row per assignment value in tag_relation_meta
  • pair-array assignment updates through tagsToAdd and tagsToRemove
  • exact value lookup through GET /tags/{tag}/objects?value=...

Why are the changes needed?

Tag assignments are currently boolean and cannot carry object-specific values. This design defines the API, storage, client, cache, authorization, event, and test plan for assignment-level tag values.

Fix: #12125

Does this PR introduce any user-facing change?

No code or API behavior changes. This PR only adds a design document.

How was this patch tested?

  • git diff --check apache/main...HEAD
  • Checked the design document for stale standalone search API references and placeholders.

@github-actions

Copy link
Copy Markdown

Code Coverage Report

Overall Project 67.77% 🟢
Files changed No Java source files changed -

Module Coverage
aliyun 1.72% 🔴
api 47.82% 🟢
authorization-common 85.96% 🟢
aws 42.04% 🟢
azure 2.47% 🔴
catalog-common 9.92% 🔴
catalog-fileset 79.74% 🟢
catalog-glue 66.91% 🟢
catalog-hive 79.4% 🟢
catalog-jdbc-common 45.7% 🟢
catalog-jdbc-doris 81.72% 🟢
catalog-jdbc-mysql 79.33% 🟢
catalog-jdbc-postgresql 83.39% 🟢
catalog-jdbc-starrocks 79.16% 🟢
catalog-kafka 77.01% 🟢
catalog-lakehouse-generic 59.18% 🟢
catalog-lakehouse-hudi 79.1% 🟢
catalog-lakehouse-iceberg 85.93% 🟢
catalog-lakehouse-paimon 84.23% 🟢
catalog-model 77.72% 🟢
cli 44.5% 🟢
client-java 78.27% 🟢
common 51.95% 🟢
core 82.54% 🟢
filesystem-hadoop3 77.28% 🟢
flink 0.0% 🔴
flink-common 47.09% 🟢
flink-runtime 0.0% 🔴
gcp 14.12% 🔴
hadoop-auth 68.0% 🟢
hadoop-common 12.7% 🔴
hive-metastore-common 53.4% 🟢
iceberg-common 64.65% 🟢
iceberg-rest-server 74.91% 🟢
idp-basic 86.02% 🟢
integration-test-common 0.0% 🔴
jobs 66.17% 🟢
lance-common 20.67% 🔴
lance-rest-server 64.84% 🟢
lineage 53.02% 🟢
optimizer 83.17% 🟢
optimizer-api 21.95% 🔴
server 85.92% 🟢
server-common 76.12% 🟢
spark 28.57% 🔴
spark-common 46.01% 🟢
tencent 69.84% 🟢
trino-connector 40.29% 🟢

@roryqi
roryqi marked this pull request as draft July 22, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Support tag assignment values

1 participant