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

Method SetSchema

cpp/src/arrow/json/reader.cc:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void SetSchema(std::shared_ptr<Schema> explicit_schema,
109 UnexpectedFieldBehavior unexpected_field_behavior) {
110 parse_options_.explicit_schema = std::move(explicit_schema);
111 parse_options_.unexpected_field_behavior = unexpected_field_behavior;
112 SetParseOptions(std::move(parse_options_));
113 }
114 void SetSchema(std::shared_ptr<Schema> explicit_schema) {
115 SetSchema(std::move(explicit_schema), parse_options_.unexpected_field_behavior);
116 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected