[Bug]: Lance-Hive catalog lists databases and tables of other warehouses sharing the same HMS
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
The report does not name source files or tests. Start by tracing how the Hive catalog uses its warehouse setting when listing databases and tables from the shared metastore. Reproduce with the two warehouses in the steps; done means each catalog lists and opens only objects belonging to its own warehouse. Pull request #4471 is already open for this issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened?
When several Lance catalogs are registered against the same Hive metastore but with
different warehouses (e.g. one lance_hive_s3 on s3://bucket/s1, one lance_hive_local on a local path), each catalog lists the databases and tables that belong to the other catalog's warehouse.
Expected
lance_hive_s3 shows only lance_db_zos tables.
Actual
lance_hive_s3 shows lance_db_local 、lance_db_zos and can open person_lance_local, even though lance_db_local lives under
/data/local1 rather than s3://bucket/s1 . The two catalogs see each other's databases and tables.
Affects Versions
master
What table formats are you seeing the problem on?
No response
What engines are you seeing the problem on?
AMS
How to reproduce
- Start an HMS and register two catalogs of type
hivewith formatLANCE:lance_hive_s3: warehouses3://bucket/s1lance_hive_local: warehouse/data/local1, same metastore uri
- In
lance_hive_localcreate databaselance_db_localand tablet1. - In
lance_hive_s3create databaselance_db_zosand tablet2. - Open the catalog list / database list of
lance_hive_s3in the dashboard.
Relevant log output
Anything else
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
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
-
[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" interfaceForse già presa @Akeron-Zhu l’ha presa 3 giorni fa. Apertatype:improvement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 2 giorni
-
[Bug]: Failed to run './dev/dependencies.sh --replace' on Windows Git BashForse già presa @smallyao l’ha presa 8 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 di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/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 14 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
-
Type: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
javaoperatorsdk.client.oauth-token has no effect on the Kubernetes clientForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
MCP add-on: JSON responses with non-ASCII characters are truncated (wrong Content-Length)Forse già presa @dhanushbs10 l’ha presa oggi. Apertaadd-on bug in:mcp
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Map.Coordinate does not implement proper equalsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertavaadin-map
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vaadin/flow-components#10586 ·
I maintainer di solito rispondono entro 1 giorno
-
WeReadInstaller writes the launcher database on the main thread at handover (Activity pause timeout)Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100