Skip to content

add more consumer related code #2794

add more consumer related code

add more consumer related code #2794

Triggered via pull request February 18, 2025 09:30
Status Failure
Total duration 3m 59s
Artifacts

check_and_build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L132
cannot use make(map[tableKey]*model.TableInfo) (value of type map[tableKey]*"github.com/pingcap/tiflow/cdc/model".TableInfo) as map[tableKey]*"github.com/pingcap/ticdc/pkg/common".TableInfo value in struct literal
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L549
result.PreColumns undefined (type *event.DMLEvent has no field or method PreColumns)
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L549
cannot use result.TableInfo (variable of type *"github.com/pingcap/ticdc/pkg/common".TableInfo) as *"github.com/pingcap/tiflow/cdc/model".TableInfo value in argument to canalJSONColumnMap2RowChangeColumns
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L553
cannot use result (variable of type *event.DMLEvent) as *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent value in argument to b.setPhysicalTableID
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L561
result.Columns undefined (type *event.DMLEvent has no field or method Columns)
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L561
cannot use result.TableInfo (variable of type *"github.com/pingcap/ticdc/pkg/common".TableInfo) as *"github.com/pingcap/tiflow/cdc/model".TableInfo value in argument to canalJSONColumnMap2RowChangeColumns
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L568
cannot use result.TableInfo (variable of type *"github.com/pingcap/ticdc/pkg/common".TableInfo) as *"github.com/pingcap/tiflow/cdc/model".TableInfo value in argument to canalJSONColumnMap2RowChangeColumns
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L572
result.Columns undefined (type *event.DMLEvent has no field or method Columns)
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L576
result.Columns undefined (type *event.DMLEvent has no field or method Columns)
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L586
result.PreColumns undefined (type *event.DMLEvent has no field or method PreColumns)
Mac OS Build
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down