Skip to content

Commit a380702

Browse files
committed
Use JSONCompactEachRowWithNamesAndTypes format for better type support
1 parent df7911b commit a380702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: programs/local/LocalChdb.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ void cursor_wrapper::execute(const std::string & query_str)
321321
release_result();
322322
global_query_obj = findQueryableObjFromQuery(query_str);
323323

324-
// Always use Arrow format internally
324+
// Use JSONCompactEachRowWithNamesAndTypes format for better type support
325325
py::gil_scoped_release release;
326-
current_result = query_conn(conn->get_conn(), query_str.c_str(), "ArrowStream");
326+
current_result = query_conn(conn->get_conn(), query_str.c_str(), "JSONCompactEachRowWithNamesAndTypes");
327327
}
328328

329329

0 commit comments

Comments
 (0)