◆ GetType()
45230 {
45233 return make_uniq<ArrowType>(LogicalType::JSON(), make_uniq<ArrowStringInfo>(ArrowVariableSizeType::NORMAL));
45234 }
else if (
format ==
"U") {
45235 return make_uniq<ArrowType>(LogicalType::JSON(),
45236 make_uniq<ArrowStringInfo>(ArrowVariableSizeType::SUPER_SIZE));
45237 }
else if (
format ==
"vu") {
45238 return make_uniq<ArrowType>(LogicalType::JSON(), make_uniq<ArrowStringInfo>(ArrowVariableSizeType::VIEW));
45239 }
45240 throw InvalidInputException(
"Arrow extension type \"%s\" not supported for arrow.json",
format.c_str());
45241 }
std::basic_string< Char > format(const S &format_str, Args &&... args)
Definition duckdb.cpp:16295
const char * format
Array type description.
Definition duckdb.hpp:11265
◆ PopulateSchema()
45244 {
45245 const ArrowSchemaMetadata schema_metadata =
45247 root_holder.metadata_info.emplace_back(schema_metadata.SerializeMetadata());
45248 schema.metadata = root_holder.metadata_info.back().get();
45249 const auto options = context.GetClientProperties();
45250 if (options.produce_arrow_string_view) {
45252 } else {
45253 if (options.arrow_offset_size == ArrowOffsetSize::LARGE) {
45255 } else {
45257 }
45258 }
45259 }
The documentation for this struct was generated from the following file: