apache / apache/arrow

[C++][Python] Unifying differing dictionaries in Arrow compute

Aperta
#14,955 5 commenti 1 reazione 0 assegnatari Vedi su GitHub
Component: Python Type: bug
Lingua principale
C++
Stelle
17.1k
Fork
4.3k
Merge medio
3g 23h
PR unite (30g)
101

Descrizione

### Describe the bug, including details regarding any error messages, version, and platform.

I received the above error when trying to run group_by() with a key column defined as dictionary

Also tried dictionary but received the same error.

When I changed the key column to string(), group_by() ran successfully.

I am therefore guessing that key columns of datatype dictionary are currently not supported by group_by().

Is group_by() support for dictionary key columns planned?

Current setup is :

Windows 11
Python 3.10
pyarrow 10.0.1

### Component(s)

Python

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing group_by() with a dictionary key column using the reported Windows 11, Python 3.10, and pyarrow 10.0.1 setup, then trace the Arrow compute group_by path for dictionary handling. Done means dictionary key columns, including differing ordered states, are supported without the reported error and the behavior is covered by relevant tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
data
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.