| 253 | } |
| 254 | |
| 255 | void emptyTest() { |
| 256 | auto arrayVector = makeNullableArrayVector<int32_t>({{}, {2, 3}}); |
| 257 | DecodedVector decoded; |
| 258 | exec::VectorReader<Array<int32_t>> reader( |
| 259 | decode(decoded, *arrayVector.get())); |
| 260 | ASSERT_TRUE(read(reader, 0).empty()); |
| 261 | ASSERT_FALSE(read(reader, 1).empty()); |
| 262 | } |
| 263 | |
| 264 | void iteratorSubscriptTest() { |
| 265 | std::vector<std::vector<std::optional<int32_t>>> intArray{ |