Skip to content

Commit

Permalink
[Debezium] Updating Source label (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 authored Dec 13, 2024
1 parent 6cd5cd1 commit 554294e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cdc/util/relational_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ type Source struct {
Connector string `json:"connector"`
TsMs int64 `json:"ts_ms"`
Database string `json:"db"`
Schema string `json:"schema"`
Schema string `json:"schema,omitempty"`
Table string `json:"table"`
// MySQL specific
File string `json:"file,omitempty"`
Pos int64 `json:"pos,omitempty"`
}

func (s *SchemaEventPayload) GetColumns() (*columns.Columns, error) {
Expand Down

0 comments on commit 554294e

Please sign in to comment.