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

Function FieldIdMetadata

cpp/src/parquet/arrow/arrow_schema_test.cc:2001–2003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1999}
2000
2001std::shared_ptr<::arrow::KeyValueMetadata> FieldIdMetadata(int field_id) {
2002 return ::arrow::key_value_metadata({"PARQUET:field_id"}, {std::to_string(field_id)});
2003}
2004
2005TEST_F(TestConvertRoundTrip, FieldIdPreserveExisting) {
2006 std::vector<std::shared_ptr<Field>> arrow_fields;

Callers 1

TEST_FFunction · 0.70

Calls 2

key_value_metadataFunction · 0.85
to_stringFunction · 0.85

Tested by

no test coverage detected