Skip to content

Commit

Permalink
mysql: GetTableSchemaConnector
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Dec 26, 2024
1 parent 2bc2709 commit 9775cdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions flow/connectors/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ var (
_ CDCNormalizeConnector = &connclickhouse.ClickHouseConnector{}

_ GetTableSchemaConnector = &connpostgres.PostgresConnector{}
_ GetTableSchemaConnector = &connmysql.MySqlConnector{}
_ GetTableSchemaConnector = &connsnowflake.SnowflakeConnector{}
_ GetTableSchemaConnector = &connclickhouse.ClickHouseConnector{}

Expand Down
3 changes: 1 addition & 2 deletions flow/workflows/cdc_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ func GetSideEffect[T any](ctx workflow.Context, f func(workflow.Context) T) T {
})

var result T
err := sideEffect.Get(&result)
if err != nil {
if err := sideEffect.Get(&result); err != nil {
panic(err)
}
return result
Expand Down

0 comments on commit 9775cdf

Please sign in to comment.