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

Function TEST

cpp/src/parquet/schema_test.cc:101–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99// ColumnPath
100
101TEST(TestColumnPath, TestAttrs) {
102 ColumnPath path(std::vector<std::string>({"toplevel", "leaf"}));
103
104 ASSERT_EQ(path.ToDotString(), "toplevel.leaf");
105
106 std::shared_ptr<ColumnPath> path_ptr = ColumnPath::FromDotString("toplevel.leaf");
107 ASSERT_EQ(path_ptr->ToDotString(), "toplevel.leaf");
108
109 std::shared_ptr<ColumnPath> extended = path_ptr->extend("anotherlevel");
110 ASSERT_EQ(extended->ToDotString(), "toplevel.leaf.anotherlevel");
111}
112
113// ----------------------------------------------------------------------
114// Primitive node

Callers

nothing calls this directly

Calls 15

PrintFunction · 0.85
StringClass · 0.85
EnumClass · 0.85
JSONClass · 0.85
BSONClass · 0.85
UUIDClass · 0.85
fFunction · 0.85

Tested by

no test coverage detected