Skip to content

Error when table has alias with Nullable type #519

Open
@ne1r0n

Description

@ne1r0n

Describe the bug

When there is an alias with Nullable type in the table, error messages appear in the logs. Connector keeps working, but error messages clutter the logs when handling a large number of tables.

Steps to reproduce

  1. Create a table
CREATE TABLE alias
(
    s String,
    a Nullable(String) ALIAS s
)
ENGINE = ReplicatedMergeTree()
ORDER BY tuple();
  1. Run connector
  2. Check logs

Expected behaviour

Clean logs

Error log

ERROR [ch-kt-connector-dev|task-1] Got non-root column, but its parent was not found to be updated. UINT8{name=a.null} (com.clickhouse.kafka.connect.sink.db.mapping.Table:70)

Configuration

Environment

  • Kafka-Connect version: 1.2.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions