From 3cac9229a160863d3b21d019f2eeeed2b49283c3 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Tue, 15 Sep 2026 08:12:51 -0700 Subject: [PATCH] Shim prepared-statement schema via public getArrowSchema() --- src/lbug_arrow.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lbug_arrow.cpp b/src/lbug_arrow.cpp index fbc7f5a..021f2b0 100644 --- a/src/lbug_arrow.cpp +++ b/src/lbug_arrow.cpp @@ -4,8 +4,6 @@ #include #include -#include "common/arrow/arrow_converter.h" - namespace lbug { namespace main { @@ -72,9 +70,8 @@ ArrowSchema query_result_get_arrow_schema(const lbug::main::QueryResult& result) } ArrowSchema prepared_statement_get_arrow_schema(const lbug::main::PreparedStatement& stmt) { - // Schema only: names/types come from the bound and planned statement, no execution. - return *lbug::common::ArrowConverter::toArrowSchema(stmt.getColumnTypes(), - stmt.getColumnNames(), false /* fallbackExtensionTypes */); + // Schema only, implemented in core: no execution, no internal headers needed here. + return *stmt.getArrowSchema(); } bool query_result_has_next_arrow_chunk(lbug::main::QueryResult& result) {