diff --git a/docs/en/engines/table_engines/integrations/kafka.md b/docs/en/engines/table_engines/integrations/kafka.md index 0166c989800..31a218c85b5 100644 --- a/docs/en/engines/table_engines/integrations/kafka.md +++ b/docs/en/engines/table_engines/integrations/kafka.md @@ -134,7 +134,7 @@ To stop receiving topic data or to change the conversion logic, detach the mater ``` sql DETACH TABLE consumer; - ATTACH MATERIALIZED VIEW consumer; + ATTACH TABLE consumer; ``` If you want to change the target table by using `ALTER`, we recommend disabling the material view to avoid discrepancies between the target table and the data from the view. diff --git a/docs/es/engines/table_engines/integrations/kafka.md b/docs/es/engines/table_engines/integrations/kafka.md index eda6e626ba4..daedc790806 100644 --- a/docs/es/engines/table_engines/integrations/kafka.md +++ b/docs/es/engines/table_engines/integrations/kafka.md @@ -136,7 +136,7 @@ Para detener la recepción de datos de tema o cambiar la lógica de conversión, ``` sql DETACH TABLE consumer; - ATTACH MATERIALIZED VIEW consumer; + ATTACH TABLE consumer; ``` Si desea cambiar la tabla de destino utilizando `ALTER`, recomendamos deshabilitar la vista de material para evitar discrepancias entre la tabla de destino y los datos de la vista. diff --git a/docs/fa/engines/table_engines/integrations/kafka.md b/docs/fa/engines/table_engines/integrations/kafka.md index 52fe6174b70..6634c7426e0 100644 --- a/docs/fa/engines/table_engines/integrations/kafka.md +++ b/docs/fa/engines/table_engines/integrations/kafka.md @@ -136,7 +136,7 @@ Kafka(kafka_broker_list, kafka_topic_list, kafka_group_name, kafka_format ``` sql DETACH TABLE consumer; - ATTACH MATERIALIZED VIEW consumer; + ATTACH TABLE consumer; ``` اگر شما می خواهید به تغییر جدول هدف با استفاده از `ALTER` توصیه می کنیم دیدگاه مادی را غیرفعال کنید تا از اختلاف بین جدول هدف و داده ها از نظر جلوگیری شود. diff --git a/docs/fr/engines/table_engines/integrations/kafka.md b/docs/fr/engines/table_engines/integrations/kafka.md index b7a538f27dc..6bb2f2a1bad 100644 --- a/docs/fr/engines/table_engines/integrations/kafka.md +++ b/docs/fr/engines/table_engines/integrations/kafka.md @@ -136,7 +136,7 @@ Pour arrêter de recevoir des données de rubrique ou pour modifier la logique d ``` sql DETACH TABLE consumer; - ATTACH MATERIALIZED VIEW consumer; + ATTACH TABLE consumer; ``` Si vous souhaitez modifier la table cible en utilisant `ALTER`, nous vous recommandons de désactiver la vue matériel pour éviter les divergences entre la table cible et les données de la vue. diff --git a/docs/ja/engines/table_engines/integrations/kafka.md b/docs/ja/engines/table_engines/integrations/kafka.md index 15bd543e73e..08145832183 100644 --- a/docs/ja/engines/table_engines/integrations/kafka.md +++ b/docs/ja/engines/table_engines/integrations/kafka.md @@ -136,7 +136,7 @@ Kafka(kafka_broker_list, kafka_topic_list, kafka_group_name, kafka_format ``` sql DETACH TABLE consumer; - ATTACH MATERIALIZED VIEW consumer; + ATTACH TABLE consumer; ``` ターゲットテーブルを次のように変更する場合 `ALTER` お勧めいたしま字の材質ビューを避ける異なるターゲットテーブルのデータからの眺め。 diff --git a/docs/ru/engines/table_engines/integrations/kafka.md b/docs/ru/engines/table_engines/integrations/kafka.md index c43a7b5d37d..80b92d4b290 100644 --- a/docs/ru/engines/table_engines/integrations/kafka.md +++ b/docs/ru/engines/table_engines/integrations/kafka.md @@ -129,7 +129,7 @@ Kafka(kafka_broker_list, kafka_topic_list, kafka_group_name, kafka_format ``` sql DETACH TABLE consumer; - ATTACH MATERIALIZED VIEW consumer; + ATTACH TABLE consumer; ``` Если необходимо изменить целевую таблицу с помощью `ALTER`, то материализованное представление рекомендуется отключить, чтобы избежать несостыковки между целевой таблицей и данными от представления. diff --git a/docs/tr/engines/table_engines/integrations/kafka.md b/docs/tr/engines/table_engines/integrations/kafka.md index baf0adcd080..e66894ed4ac 100644 --- a/docs/tr/engines/table_engines/integrations/kafka.md +++ b/docs/tr/engines/table_engines/integrations/kafka.md @@ -136,7 +136,7 @@ Konu verilerini almayı durdurmak veya dönüşüm mantığını değiştirmek i ``` sql DETACH TABLE consumer; - ATTACH MATERIALIZED VIEW consumer; + ATTACH TABLE consumer; ``` Kullanarak hedef tabloyu değiştirmek istiyorsanız `ALTER` hedef tablo ile görünümdeki veriler arasındaki tutarsızlıkları önlemek için malzeme görünümünü devre dışı bırakmanızı öneririz. diff --git a/docs/zh/engines/table_engines/integrations/kafka.md b/docs/zh/engines/table_engines/integrations/kafka.md index 53bde650dfc..bf50fd366a2 100644 --- a/docs/zh/engines/table_engines/integrations/kafka.md +++ b/docs/zh/engines/table_engines/integrations/kafka.md @@ -109,7 +109,7 @@ Kafka 特性: 停止接收主题数据或更改转换逻辑,请 detach 物化视图: DETACH TABLE consumer; - ATTACH MATERIALIZED VIEW consumer; + ATTACH TABLE consumer; 如果使用 `ALTER` 更改目标表,为了避免目标表与视图中的数据之间存在差异,推荐停止物化视图。 diff --git a/src/Processors/Formats/IRowInputFormat.cpp b/src/Processors/Formats/IRowInputFormat.cpp index 74f4dccaa86..3dcd431d77d 100644 --- a/src/Processors/Formats/IRowInputFormat.cpp +++ b/src/Processors/Formats/IRowInputFormat.cpp @@ -138,7 +138,7 @@ Chunk IRowInputFormat::generate() if (columns.empty() || columns[0]->empty()) { - if (params.allow_errors_num > 0 || params.allow_errors_ratio > 0) + if (num_errors && (params.allow_errors_num > 0 || params.allow_errors_ratio > 0)) { Logger * log = &Logger::get("IRowInputFormat"); LOG_TRACE(log, "Skipped " << num_errors << " rows with errors while reading the input stream");