mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
fafecb3c25
* Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development): removed very old tests #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447 * Formats: better modularity (development) #2447
21 lines
395 B
C++
21 lines
395 B
C++
#include <DataStreams/NullBlockOutputStream.h>
|
|
#include <Formats/FormatFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerOutputFormatNull(FormatFactory & factory)
|
|
{
|
|
factory.registerOutputFormat("Null", [](
|
|
WriteBuffer &,
|
|
const Block & sample,
|
|
const Context &,
|
|
const FormatSettings &)
|
|
{
|
|
return std::make_shared<NullBlockOutputStream>(sample);
|
|
});
|
|
}
|
|
|
|
}
|