Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/lbug_arrow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#include <stdexcept>
#include <vector>

#include "common/arrow/arrow_converter.h"

namespace lbug {
namespace main {

Expand Down Expand Up @@ -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) {
Expand Down
Loading