[Java] Add support for sliced arrays in C Data Interface
- Lingua principale
- Java
- Stelle
- 94
- Fork
- 152
- Merge medio
- 3g 16h
- PR unite (30g)
- 11
Descrizione
The Java implementation of the C Data Interface does not support non-0-offset arrays. This means that arrays like pyarrow.array([0, None, 2, 3, 4]).slice(1, 2) cannot be moved to a Java process. This is not even documented as required by the spec because it was an oversight.
**Reporter**: [Roee Shlomo](https://issues.apache.org/jira/browse/ARROW-14474) / @roee88
#### Related issues:
- [[Java] Java implementation of Arrow C data interface](https://github.com/apache/arrow/issues/28685) (is caused by)
**Note**: *This issue was originally created as [ARROW-14474](https://issues.apache.org/jira/browse/ARROW-14474). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con l’implementazione Java di C Data Interface e riproduci l’esempio di array suddiviso usando pyarrow.array([0, None, 2, 3, 4]).slice(1, 2). Il lavoro è completato quando gli array con un offset diverso da 0 possono essere trasferiti a un processo Java, con test per questo caso e per il comportamento correlato di C Data Interface.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- data
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100