MCPcopy Create free account
hub / github.com/bytedance/bolt / VARIANT>

Method VARIANT>

bolt/vector/tests/VectorTestUtils.cpp:125–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124template <>
125void checkVectorFlagsClearedTyped<TypeKind::VARIANT>(
126 const BaseVector& vector,
127 const SelectivityVector& asciiClearedRows,
128 const SelectivityVector& asciiRemainRows) {
129 checkBaseVectorFlagsCleared(vector);
130
131 auto* variantVector = vector.as<VariantVector>();
132 for (const auto& child : variantVector->children()) {
133 checkVectorFlagsCleared(*child, asciiClearedRows, asciiRemainRows);
134 }
135}
136
137// Check that data-dependent flags have been reset. If the asciiness flag
138// applies, check that the asciiness information is cleared at asciiClearedRows

Callers

nothing calls this directly

Calls 6

checkVectorFlagsClearedFunction · 0.85
checkVectorFlagsSetFunction · 0.85
has_valueMethod · 0.80
childrenMethod · 0.45
getNullCountMethod · 0.45

Tested by

no test coverage detected