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

Function IsComplexType

cpp/src/arrow/flight/sql/odbc/odbc_impl/util.cc:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38namespace util {
39namespace {
40bool IsComplexType(Type::type type_id) {
41 switch (type_id) {
42 case Type::LIST:
43 case Type::LARGE_LIST:
44 case Type::FIXED_SIZE_LIST:
45 case Type::MAP:
46 case Type::STRUCT:
47 return true;
48 default:
49 return false;
50 }
51}
52
53SqlDataType GetDefaultSqlCharType(bool use_wide_char) {
54 return use_wide_char ? SqlDataType_WCHAR : SqlDataType_CHAR;

Callers 1

GetConverterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected