Returns true if 'wrapper' is a dictionary vector over a flat vector.
| 100 | |
| 101 | /// Returns true if 'wrapper' is a dictionary vector over a flat vector. |
| 102 | bool isDictionaryOverFlat(const BaseVector& wrapper) { |
| 103 | return wrapper.encoding() == VectorEncoding::Simple::DICTIONARY && |
| 104 | wrapper.valueVector()->isFlatEncoding(); |
| 105 | } |
| 106 | } // namespace |
| 107 | |
| 108 | void PeeledEncoding::setDictionaryWrapping( |
no test coverage detected