mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 21:12:28 +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.
|
||||
// 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);
|
||||
|
||||
if (schema.size() > 0)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <DataStreams/IProfilingBlockInputStream.h>
|
||||
#include <DataStreams/IBlockInputStream.h>
|
||||
#include <IO/DelimitedReadBuffer.h>
|
||||
#include <Interpreters/Context.h>
|
||||
#include <Storages/Kafka/ReadBufferFromKafkaConsumer.h>
|
||||
@ -9,7 +9,7 @@ namespace DB
|
||||
{
|
||||
class StorageKafka;
|
||||
|
||||
class KafkaBlockInputStream : public IProfilingBlockInputStream
|
||||
class KafkaBlockInputStream : public IBlockInputStream
|
||||
{
|
||||
public:
|
||||
KafkaBlockInputStream(StorageKafka & storage_, const Context & context_, const String & schema, size_t max_block_size_);
|
||||
|
Loading…
Reference in New Issue
Block a user