Suggestion: Could ingest_* methods return something
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- azure, python
- Ambito
- api, data-engineering
Direzione di ricerca
Inizia leggendo azure/kusto/ingest/_ingest_client.py e la gestione degli ingestion-tag in kit/kit/backends/kusto.py. Confronta i metodi di ingestion esistenti con i pattern KIT indicati e verifica come vengono identificati i fallimenti. Il lavoro è completato quando il progetto dispone di un contratto di ritorno definito e documentato che consenta ai chiamanti di monitorare o correlare programmaticamente i fallimenti di ingestion.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
ingestion_ methods make developer life difficult to write robust code. They currently silently fail even if their ingestion ends up in the ".show ingestion failures". Users have no way of monitoring this as all underlying ids are hidden from the user to even check against that table.
Describe the solution you'd like
have ingestion_ methods return something useful to handle failures programmatically. Ideally mimicking the robust C# api.
Describe alternatives you've considered
I guess KIT?
edit1: So it appears our friend the KIT library has a pattern with ingestion tag monitoring: https://github.com/Azure/azure-kusto-ingestion-tools/blob/a2a256a09a66aacfe9c4756b2b0b457014013c4a/kit/kit/backends/kusto.py#L183
However the problem with ingestion tag monitoring is that it only can identify successful rows, at least with how it's implemented in KIT currently. However, the API that KIT offers seems much more full featured. Why aren't some of KIT's API features available for ingestion? seems like most of KIT's methods lend themselves well to the ingestion library. KIT makes sense standalone for CLI and data schema inferencing, but it has some nice repeated patterns anyone using the ingestion library would eventually need to write
edit2: ehhh kit is pretty tangled up with this manifest business. Possibly have ingest return the url? https://github.com/Azure/azure-kusto-python/blob/d81a549a86a5463db1c131357c179a8f3830d075/azure-kusto-ingest/azure/kusto/ingest/_ingest_client.py#L64 This would at least allow users to inspect the failures table for their specific error filtering by the random GUID used in the dataframe/file helper methods? That would effectively be the unique key
- Lingua principale
- Python
- Stelle
- 204
- Fork
- 119
- Merge medio
- 2h 8m
- PR unite (30g)
- 1
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 Azure/azure-kusto-python
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Azure/azure-kusto-python#652 ·
-
When query against Log Analytics workspaces, dynamic are not converted to listForse di nuovo libera @yogilad l’ha presa 1134 giorni fa e non c’è nessuna pull request aperta. Aperta
Azure/azure-kusto-python#491 · 2 commenti · 1 assegnatario ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Azure/azure-kusto-python#470 · 5 commenti ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Azure/azure-kusto-python#424 · 4 commenti ·
-
Discussion
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Azure/azure-kusto-python#126 · 2 commenti ·
Tutte le issue di Azure/azure-kusto-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
vllm-project/vllm#61131 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kubernetes-client/python#2735 ·
I maintainer di solito rispondono entro 1 giorno
-
desktop help wanted test
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Broken links found in docsApertadocs pydanty:is-working
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
pydantic/pydantic-ai#10113 ·
I maintainer di solito rispondono entro 1 giorno
-
Tutorial unit test leaks sample data into tutorial doctestForse già presa @Gambit-Checkmate l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100