#include #include #include namespace DB { WriteBuffer NullOutputFormat::empty_buffer(nullptr, 0); void registerOutputFormatNull(FormatFactory & factory) { factory.registerOutputFormat("Null", []( WriteBuffer &, const Block & sample, const RowOutputFormatParams &, const FormatSettings &) { return std::make_shared(sample); }); } }