apache / apache/paimon

[Feature][cdc] Extract schema change from record

Open
#1,392 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.

### Motivation

Currently, in cdc synchronization, there may be a situation where the schema comes later but the data comes first, which may lead to a dead wait on the write side.

If we extract the schema change from the data, it is in the realm of invincibility and can never go wrong.

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by tracing the CDC synchronization write path and how schema and data events are handled when data arrives first. Done means the schema change is extracted from the data flow and the dead-wait scenario is prevented, with tests covering the ordering case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.