# Arrow stream writer and reader implementation questions

**URL:** <https://discourse.julialang.org/t/arrow-stream-writer-and-reader-implementation-questions/101438>\
**Category:** General Usage\
**Tags:** arrow\
**Created:** [July 10, 2023, 2:59pm UTC](https://discourse.julialang.org/t/arrow-stream-writer-and-reader-implementation-questions/101438 "2023-07-10T14:59:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schaefer0](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@schaefer0](https://discourse.julialang.org/u/schaefer0)\
**Post date:** [July 10, 2023, 2:59pm UTC](https://discourse.julialang.org/t/arrow-stream-writer-and-reader-implementation-questions/101438/1 "2023-07-10T14:59:43Z")

</div>

Hi,  
I was using the python arrow function record\_batch and find that this does not exist in julia, but there is an arrow table function. However they don’t behave the same way.

I have a customer requirement (that I can neither explain nor defend) of using arrow to  
make a stream writer and reader of io bytes rather than just use julia bytes  
This works using python arrows and batch\_record  
batch = pa.record\_batch([data\_in],names=[‘f0’])

My question is, is the problem syntax (typing it wrong) or semantics (just not possible to do because functionality was not ported)?

my julia code is as follows:  
blksz = (32 \* 1024)

A = rand(ComplexF16, blksz)

B = reinterpret(Float16, A)

C = reinterpret(UInt8, B)

tbl = Arrow.Table(C)

→ MethodError: no method matching open(::Base.ReinterpretArray{UInt8, 1, ComplexF16, Vector{ComplexF16}, false}, ::String)
