Skip to content

Add PreparedStatement::get_arrow_schema (no execution) - #34

Merged
adsharma merged 1 commit into
mainfrom
feat/prepared-statement-arrow-schema
Sep 14, 2026
Merged

adsharma merged 1 commit into
mainfrom
feat/prepared-statement-arrow-schema

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

C++ shim prepared_statement_get_arrow_schema (lbug_arrow namespace) derives the Arrow schema from the bound+planned statement via ArrowConverter, mirroring query_result_get_arrow_schema, plus cxx bridge entry and PreparedStatement::get_arrow_schema behind the arrow feature.

Depends on LadybugDB/ladybug#970 (needs core PreparedStatement::getColumnNames/getColumnTypes); CI here builds against a pinned core, so this should merge after the core PR lands in a consumed core version.

Consumer: ladybug-adbc-rs GetFlightInfo, so a Flight round trip executes the query exactly once (in DoGet). Untested end-to-end by design.

C++ shim prepared_statement_get_arrow_schema in lbug_arrow namespace
uses the new core PreparedStatement::getColumnNames/getColumnTypes
(parse + bind + plan only) via ArrowConverter, mirroring
query_result_get_arrow_schema. Requires LadybugDB core with
lbug_prepared_statement_get_arrow_schema support.
@adsharma
adsharma force-pushed the feat/prepared-statement-arrow-schema branch from e590950 to 0f53959 Compare September 14, 2026 22:52
@adsharma
adsharma merged commit 19c48ac into main Sep 14, 2026
1 check passed
@adsharma
adsharma deleted the feat/prepared-statement-arrow-schema branch September 14, 2026 23:28
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