# Any OCaml bindings to Apache Arrow?

**URL:** https://discuss.ocaml.org/t/any-ocaml-bindings-to-apache-arrow/8047
**Category:** Community
**Created:** [June 25, 2021, 5:31am UTC](https://discuss.ocaml.org/t/any-ocaml-bindings-to-apache-arrow/8047 "2021-06-25T05:31:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![UnixJunkie](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/unixjunkie/32/638_2.png) [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)
#### Post date: [June 25, 2021, 5:31am UTC](https://discuss.ocaml.org/t/any-ocaml-bindings-to-apache-arrow/8047/1 "2021-06-25T05:31:38Z")

</div>

Looks interesting:

> **[Apache Arrow](https://arrow.apache.org/)**
>
> A cross-language development platform for in-memory analytics

> **[Format](https://arrow.apache.org/overview/)**
>
> Arrow Format

---

<div class="post-metadata">

### Author: ![laurent](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/laurent/32/734_2.png) [@laurent](https://discuss.ocaml.org/u/laurent)
#### Post date: [June 25, 2021, 12:58pm UTC](https://discuss.ocaml.org/t/any-ocaml-bindings-to-apache-arrow/8047/2 "2021-06-25T12:58:33Z")

</div>

I’ve put together some simple [ocaml-arrow](https://github.com/LaurentMazare/ocaml-arrow) library. It works reasonably well and is quite battle tested but definitely needs a bit of cleanup as the bits under src/ are deprecated in favor of the ones under c\_api/. There is also a ppx to automatically convert ocaml records to/from arrow. Some examples using this can be seen in the [tests directory](https://github.com/LaurentMazare/ocaml-arrow/blob/master/c_api/tests/ppx.ml).

If there is some interest, I can certainly push up on cleaning this and make an actual opam package.

---

<div class="post-metadata">

### Author: ![UnixJunkie](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/unixjunkie/32/638_2.png) [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)
#### Post date: [June 28, 2021, 1:37am UTC](https://discuss.ocaml.org/t/any-ocaml-bindings-to-apache-arrow/8047/3 "2021-06-28T01:37:52Z")

</div>

I was asking because I did not find anything in opam (opam search arrow).  
If you create an opam package, I am definitely interested and will give it a try.
