| 51 | )LUAU"; |
| 52 | |
| 53 | std::vector<double> readValues(DataEngine& engine, TopicId tid) { |
| 54 | std::vector<double> out; |
| 55 | const TopicStorage* storage = engine.getTopicStorage(tid); |
| 56 | if (!storage) { |
| 57 | return out; |
| 58 | } |
| 59 | auto cursor = rangeQuery(storage->sealedChunks(), 0, std::numeric_limits<Timestamp>::max()); |
| 60 | cursor.forEach([&](const SampleRow& row) { out.push_back(row.chunk->readNumericAsDouble(0, row.row_index)); }); |
| 61 | return out; |
| 62 | } |
| 63 | |
| 64 | TEST(DataProcessorServiceTest, AppliesAbsoluteFilterAndMaterializesOutput) { |
| 65 | DataEngine engine; |
no test coverage detected