[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
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 85/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- markdown
- Ambito
- documentation
Direzione di ricerca
Aggiorna la sezione "Configure table properties" in docs/admin-guides/managing-catalogs.md. Leggi quella sezione e la logica backend in CatalogController.constructCatalogMeta() per verificare il comportamento del prefisso. Fatto significa che il doc afferma che il campo dedicato "Table properties" non richiede il prefisso table., mentre il campo grezzo "Properties" lo richiede.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Java
- Stelle
- 1.2k
- Fork
- 399
- Merge medio
- 4g 8h
- PR unite (30g)
- 24
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/amoro
-
[Bug]: Failed to run './dev/dependencies.sh --replace' on Windows Git BashForse già presa @smallyao l’ha presa 6 giorni fa. Apertatype:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 2 giorni
-
[CI] Core CI doesn't run for changes to amoro-format-lance (and amoro-web)Forse già presa @MarkAlex1234 l’ha presa 28 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
[Bug]: Lance-Hive catalog lists databases and tables of other warehouses sharing the same HMSForse già presa @zhangwl9 l’ha presa 6 giorni fa. Apertatype:bug
Difficoltà 4/5 1-2 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 2 giorni
-
[Bug]: Overview top-table cache is not published atomicallyForse già presa @sivakumar-mahalingam l’ha presa 11 giorni fa. Apertatype:bug
apache/amoro#4462 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
type:bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
apache/amoro#4461 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di apache/amoro
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
a2aproject/a2a-java#1275 ·
I maintainer di solito rispondono entro 1 giorno
-
module/ftp Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ballerina-platform/ballerina-library#9476 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
anwilli5/coin-collection-android-US#515 ·
I maintainer di solito rispondono entro 1 giorno
-
status: waiting-for-triage type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
spring-projects/spring-integration#11654 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 70/100
Vakore/ZappierGames#248 ·