Return true if vector is not dictionary- or constant-encoded.
| 246 | |
| 247 | // Return true if vector is not dictionary- or constant-encoded. |
| 248 | bool isFlat(const VectorPtr& vector) { |
| 249 | return vector->encoding() != VectorEncoding::Simple::DICTIONARY && |
| 250 | vector->encoding() != VectorEncoding::Simple::CONSTANT; |
| 251 | } |
| 252 | |
| 253 | } // namespace |
| 254 |
no test coverage detected