mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
Fix build
This commit is contained in:
parent
20b94a635c
commit
9636bdcd67
@ -19,7 +19,7 @@ KafkaBlockInputStream::KafkaBlockInputStream(
|
|||||||
|
|
||||||
// We don't use ratio since the number of Kafka messages may vary from stream to stream.
|
// We don't use ratio since the number of Kafka messages may vary from stream to stream.
|
||||||
// Thus, ratio is meaningless.
|
// Thus, ratio is meaningless.
|
||||||
context.setSetting("input_format_allow_errors_ratio", 1.);
|
context.setSetting("input_format_allow_errors_ratio", 0.);
|
||||||
context.setSetting("input_format_allow_errors_num", storage.skip_broken);
|
context.setSetting("input_format_allow_errors_num", storage.skip_broken);
|
||||||
|
|
||||||
if (schema.size() > 0)
|
if (schema.size() > 0)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <DataStreams/IProfilingBlockInputStream.h>
|
#include <DataStreams/IBlockInputStream.h>
|
||||||
#include <IO/DelimitedReadBuffer.h>
|
#include <IO/DelimitedReadBuffer.h>
|
||||||
#include <Interpreters/Context.h>
|
#include <Interpreters/Context.h>
|
||||||
#include <Storages/Kafka/ReadBufferFromKafkaConsumer.h>
|
#include <Storages/Kafka/ReadBufferFromKafkaConsumer.h>
|
||||||
@ -9,7 +9,7 @@ namespace DB
|
|||||||
{
|
{
|
||||||
class StorageKafka;
|
class StorageKafka;
|
||||||
|
|
||||||
class KafkaBlockInputStream : public IProfilingBlockInputStream
|
class KafkaBlockInputStream : public IBlockInputStream
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
KafkaBlockInputStream(StorageKafka & storage_, const Context & context_, const String & schema, size_t max_block_size_);
|
KafkaBlockInputStream(StorageKafka & storage_, const Context & context_, const String & schema, size_t max_block_size_);
|
||||||
|
Loading…
Reference in New Issue
Block a user