| 256 | |
| 257 | |
| 258 | Block PushingToViewsBlockOutputStream::getHeader() const |
| 259 | { |
| 260 | /// If we don't write directly to the destination |
| 261 | /// then expect that we're inserting with precalculated virtual columns |
| 262 | if (output) |
| 263 | return metadata_snapshot->getSampleBlock(); |
| 264 | else |
| 265 | return metadata_snapshot->getSampleBlockWithVirtuals(storage->getVirtuals()); |
| 266 | } |
| 267 | |
| 268 | |
| 269 | void PushingToViewsBlockOutputStream::write(const Block & block) |
no test coverage detected