Skip to content

Commit

Permalink
remove a redundant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoxinyu committed Oct 13, 2022
1 parent e876c1d commit 23717cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cdc/sink/codec/csv/csv_decoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ package csv

import (
"context"
"fmt"
"testing"

"github.com/pingcap/tiflow/cdc/model"
Expand Down Expand Up @@ -50,6 +49,5 @@ func TestCSVBatchDecoder(t *testing.T) {
}

_, hasNext, _ := decoder.HasNext()
fmt.Println(hasNext)
require.False(t, hasNext)
}
10 changes: 10 additions & 0 deletions errors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ error = '''
puller mem buffer reach size limit
'''

["CDC:ErrCSVDecodeFailed"]
error = '''
csv decode failed
'''

["CDC:ErrCSVEncodeFailed"]
error = '''
csv encode failed
'''

["CDC:ErrCachedTSONotExists"]
error = '''
GetCachedCurrentVersion: cache entry does not exist
Expand Down

0 comments on commit 23717cb

Please sign in to comment.