Skip to content

Don't leak arrow headers into Rerun C++ API headers #2873

@Wumpf

Description

@Wumpf

Currently the codegen includes some arrow headers into our own headers. This is unfortunate since it drags in arrow into the user's global namespace when we could avoid it fairly easily. The main issues are:

  • utility functions on generated headers that are needed by aren't useful to the user (ideally we only expose to_data_cell which returns our own type)
  • arrow::Result/arrow::Status - we should have a different error value

We should strive to more clearly separate concerns

Note that we can't avoid dragging in arrow itself for building the SDK (and binary distribution of the C++ SDK remains very challenging as we depend on C++ standard library types which are notoriously poisonous to binary interfaces)

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegen/idlsdk-cppC/C++ API specific😤 annoyingSomething in the UI / SDK is annoying to use

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions