[Doc]: Clarify that catalog-level table properties should be added via the "Table properties" interface, and the "table." prefix is only required when using the raw "Properties" interface
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 85/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- markdown
調査の方向性
docs/admin-guides/managing-catalogs.md の "Configure table properties" セクションを更新してください。そのセクションと CatalogController.constructCatalogMeta() のバックエンドロジックを読み、プレフィックスの動作を確認してください。完了とは、ドキュメントが専用の "Table properties" フィールドは table. プレフィックスを必要とせず、生の "Properties" フィールドは必要とすると述べていることです。
索引モデルが issue の本文から書いたものです。
説明
Search before asking
- I have searched in the issues and found no similar issues.
What would you like to be improved?
The "Configure table properties" section in docs/admin-guides/managing-catalogs.md (added by PR #4358, issue #4357) currently states, in a blanket way, that catalog-level table property keys MUST be prefixed with table..
However, Amoro provides two entry points with different behavior:
-
The "Table properties" interface (the
tablePropertiesfield ofCatalogRegisterInfo, i.e. the dedicated "Table properties" field in the AMS UI). The backend automatically prependstable.to every key viaPropertiesUtil.unionCatalogProperties()(called fromCatalogController.constructCatalogMeta()). So users must NOT write thetable.prefix here. -
The raw "Properties" interface (the
propertiesfield ofCatalogRegisterInfo, or the catalog property map directly). Keys are stored as-is, so for a key to act as a table-level default it MUST be manually prefixed withtable.(e.g.table.self-optimizing.group).
If a user follows the current doc and adds table. in the "Table properties" field, the backend stores table.table.self-optimizing.group, which is not a valid table property and is silently ignored. The current wording is therefore ambiguous and can lead to the exact misconfiguration it intends to prevent.
On top of that, the current design itself is easy to confuse: users cannot easily tell which keys are table-level properties and which are catalog-level properties just by looking at them, which makes misconfiguration very likely.
How should we improve?
-
Advise and remind users to configure catalog-level table properties through the dedicated "Table properties" interface (the
tablePropertiesfield). There, keys should be entered without thetable.prefix, since the backend adds it automatically. -
If users must instead use the raw "Properties" interface (the
propertiesfield), make it explicit that keys need to be manually prefixed withtable.; otherwise the entries will not be recognized as table-level defaults. -
Revise the "Configure table properties" section in
managing-catalogs.mdto reflect the two points above.
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Subtasks
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要言語
- Java
- スター
- 1.2k
- フォーク
- 399
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 24
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/amoro のほかの issue
-
[Bug]: Failed to run './dev/dependencies.sh --replace' on Windows Git Bash対応中かも @smallyao が 6 日前に担当しました。 オープンtype:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信
-
[CI] Core CI doesn't run for changes to amoro-format-lance (and amoro-web)対応中かも @MarkAlex1234 が 28 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
[Bug]: Lance-Hive catalog lists databases and tables of other warehouses sharing the same HMS対応中かも @zhangwl9 が 6 日前に担当しました。 オープンtype:bug
難易度 4/5 1〜2日 初心者へのやさしさ 25/100
メンテナーはふだん 2 日以内に返信
-
[Bug]: Overview top-table cache is not published atomically対応中かも @sivakumar-mahalingam が 12 日前に担当しました。 オープンtype:bug
apache/amoro#4462 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
apache/amoro#4461 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
5.0.x backport enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
spring-cloud/spring-cloud-function#1507 ·
メンテナーはふだん 1 日以内に返信
-
ai-driven-fuzzing bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
linagora/twake-calendar-side-service#1417 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
line/armeria#7109 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
a2aproject/a2a-java#1275 ·
メンテナーはふだん 1 日以内に返信
-
module/ftp Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ballerina-platform/ballerina-library#9476 ·
メンテナーはふだん 1 日以内に返信