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

Function TEST

cpp/src/parquet/schema_test.cc:103–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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