MCPcopy Create free account
hub / github.com/apache/arrow / GetUnknownColumnDataType

Function GetUnknownColumnDataType

cpp/src/arrow/flight/sql/example/sqlite_server.h:48–55  ·  view source on GitHub ↗

\brief Get the DataType used when parameter type is not known. \return DataType used when parameter type is not known.

Source from the content-addressed store, hash-verified

46/// \brief Get the DataType used when parameter type is not known.
47/// \return DataType used when parameter type is not known.
48inline std::shared_ptr<DataType> GetUnknownColumnDataType() {
49 return dense_union({
50 field("string", utf8()),
51 field("bytes", binary()),
52 field("bigint", int64()),
53 field("double", float64()),
54 });
55}
56
57/// \brief Example implementation of FlightSqlServerBase backed by an in-memory SQLite3
58/// database.

Callers 3

TEST_FFunction · 0.85
GetSchemaMethod · 0.85

Calls 2

dense_unionFunction · 0.85
fieldFunction · 0.50

Tested by 1

TEST_FFunction · 0.68