arrow-julia icon indicating copy to clipboard operation
arrow-julia copied to clipboard

Support tensors/sparse tensor messages

Open quinnj opened this issue 4 years ago • 10 comments

quinnj avatar Apr 23 '21 02:04 quinnj

Are there any plans to support ND formats here or some way of formally writing custom metadata that supports reading a vector of data into an array structure?

Tokazama avatar Sep 25 '21 01:09 Tokazama

writing custom metadata that supports reading a vector of data into an array structure?

LegolasFlux does this: https://github.com/beacon-biosignals/LegolasFlux.jl/blob/aaa94fdb050e0b5333725d7d968b58b080b67df2/src/LegolasFlux.jl#L16

I’m not really sure the practical difference between something like that and the tensor bit of the arrow spec (https://github.com/apache/arrow/blob/master/format/Tensor.fbs).

ericphanson avatar Sep 25 '21 01:09 ericphanson

Thanks for the example. Perhaps it's a more effective use of developer time to heavily document how to write custom metadata? I'm trying to find ways to sell some other communities on this format instead of making more new file formats (an abominable practice that plagues neuroscience).

Tokazama avatar Sep 25 '21 01:09 Tokazama

I guess strides and better Interop would be the main differences? I imagine native tensor support would be nice for RPC as well.

ToucheSir avatar Sep 25 '21 02:09 ToucheSir

I think formalizing size and strides would be a great thing to have in place. I imagine it would be best to write most other things as small dictionaries so that it can be read universally and then provide specific methods in a package for type stable reading into domain specific data structures.

Tokazama avatar Sep 25 '21 03:09 Tokazama

Has there been any update on this?

Dsantra92 avatar Sep 03 '22 19:09 Dsantra92

I would like to have a go at supporting tensors in Arrow.jl.

Dsantra92 avatar Oct 02 '22 06:10 Dsantra92

Any status about this ?

BambOoxX avatar Jan 21 '23 21:01 BambOoxX

I don't think anyone is working on it

ericphanson avatar Jan 21 '23 22:01 ericphanson

I volunteered to work on it. Thanks for the reminder, I will start working once I get some uni problems sorted (1-2 weeks).

Dsantra92 avatar Jan 22 '23 18:01 Dsantra92