[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
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 85/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- markdown
- Área
- documentation
Línea de trabajo
Actualiza la sección "Configure table properties" en docs/admin-guides/managing-catalogs.md. Lee esa sección y la lógica de backend en CatalogController.constructCatalogMeta() para verificar el comportamiento del prefijo. Hecho significa que el doc indica que el campo dedicado "Table properties" no necesita prefijo table., mientras que el campo crudo "Properties" lo requiere.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Java
- Estrellas
- 1.2k
- Forks
- 399
- Merge medio
- 4 d 8 h
- PR fusionados (30 d)
- 24
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/amoro
-
[Bug]: Failed to run './dev/dependencies.sh --replace' on Windows Git BashPosiblemente ocupada @smallyao la tomó hace 6 días. Abiertotype:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 2 días
-
[CI] Core CI doesn't run for changes to amoro-format-lance (and amoro-web)Posiblemente ocupada @MarkAlex1234 la tomó hace 28 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
[Bug]: Lance-Hive catalog lists databases and tables of other warehouses sharing the same HMSPosiblemente ocupada @zhangwl9 la tomó hace 6 días. Abiertotype:bug
Dificultad 4/5 1-2 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 2 días
-
[Bug]: Overview top-table cache is not published atomicallyPosiblemente ocupada @sivakumar-mahalingam la tomó hace 11 días. Abiertotype:bug
apache/amoro#4462 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
apache/amoro#4461 · 1 comentario ·
Los mantenedores suelen responder en 2 días
Todos los issues de apache/amoro
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
a2aproject/a2a-java#1275 ·
Los mantenedores suelen responder en 1 día
-
module/ftp Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ballerina-platform/ballerina-library#9476 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
anwilli5/coin-collection-android-US#515 ·
Los mantenedores suelen responder en 1 día
-
status: waiting-for-triage type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
spring-projects/spring-integration#11654 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Menos de una hora Aptitud para principiantes 70/100
Vakore/ZappierGames#248 ·