Skip to content

Remove Arrow support#9

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:remove-arrow-support
Jul 15, 2026
Merged

Remove Arrow support#9
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:remove-arrow-support

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

Drops the Arrow C Data Interface from the Go FFI, matching MobilityDB/MobilityDB#1389 which removes the Arrow export (meos_arrow.h, meos_*_to_arrow / _from_arrow / _arrow_roundtrip).

Generator (tools/codegen.py):

  • removes meos_arrow.h from the public-header list and from both cgo preambles;
  • drops the -DARROW=1 build flag from the cgo CFLAGS;
  • removes the ArrowSchema / ArrowArray struct mapping (dead once the arrow functions leave the catalog).

Generated functions/:

  • deletes the meos_meos_arrow.go wrapper file;
  • removes the #include "meos_arrow.h" line from every cgo preamble and the -DARROW=1 flag from the cgo directives.

The regenerated surface is byte-identical to the committed files for the arrow-affected preambles, so this is exactly the arrow delta with no unrelated regeneration drift.

MobilityDB removed the Arrow C Data Interface export (meos_arrow.h,
meos_*_to_arrow / _from_arrow / _arrow_roundtrip). Drop it from the Go
FFI:

- codegen: remove meos_arrow.h from the header list and both cgo
  preambles, drop the -DARROW=1 build flag from the cgo CFLAGS, and
  remove the ArrowSchema/ArrowArray struct mapping;
- regenerate: drop the meos_meos_arrow.go wrapper file, the
  meos_arrow.h #include from every generated cgo preamble, and the
  -DARROW=1 flag from the generated cgo directives.
@estebanzimanyi estebanzimanyi merged commit d468ec4 into MobilityDB:main Jul 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant