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

Method Permissive

cpp/src/arrow/type.cc:341–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341Field::MergeOptions Field::MergeOptions::Permissive() {
342 MergeOptions options = Defaults();
343 options.promote_nullability = true;
344 options.promote_decimal = true;
345 options.promote_decimal_to_float = true;
346 options.promote_integer_to_decimal = true;
347 options.promote_integer_to_float = true;
348 options.promote_integer_sign = true;
349 options.promote_numeric_width = true;
350 options.promote_binary = true;
351 options.promote_temporal_unit = true;
352 options.promote_list = true;
353 options.promote_dictionary = true;
354 options.promote_dictionary_ordered = false;
355 return options;
356}
357
358std::string Field::MergeOptions::ToString() const {
359 std::stringstream ss;

Callers

nothing calls this directly

Calls 1

DefaultsFunction · 0.70

Tested by

no test coverage detected