| 33 | |
| 34 | template <> |
| 35 | void SimpleVector<StringView>::validate( |
| 36 | const VectorValidateOptions& options) const { |
| 37 | BaseVector::validate(options); |
| 38 | |
| 39 | // We only validate the right size of ascii info, if it has any selection. |
| 40 | auto rlockedAsciiComputedRows{asciiInfo.readLockedAsciiComputedRows()}; |
| 41 | if (rlockedAsciiComputedRows->hasSelections()) { |
| 42 | BOLT_CHECK_GE(rlockedAsciiComputedRows->size(), size()); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | } // namespace bytedance::bolt |
nothing calls this directly
no test coverage detected