Skip to content

Commit 73a2b88

Browse files
committed
timestamp can't have 00
1 parent b3f1078 commit 73a2b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flow/e2e/clickhouse/mysql_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (s ClickHouseSuite) Test_MySQL_Time() {
8888
require.NoError(s.t, s.source.Exec(s.t.Context(), fmt.Sprintf(`INSERT INTO %s ("key",d,dt,tm,t) VALUES
8989
('init','1935-01-01','1953-02-02 12:01:02','1973-02-02 13:01:02.123','14:21.654321'),
9090
('init','0000-00-00','0000-00-00 00:00:00','0000-00-00 00:00:00.000','00:00'),
91-
('init','2000-01-00','2000-00-01 00:00:00','2000-00-00 00:00:00.000','-800:0:1')`,
91+
('init','2000-01-00','2000-00-01 00:00:00','2000-01-01 00:00:00.000','-800:0:1')`,
9292
quotedSrcFullName)))
9393

9494
connectionGen := e2e.FlowConnectionGenerationConfig{
@@ -108,7 +108,7 @@ func (s ClickHouseSuite) Test_MySQL_Time() {
108108
require.NoError(s.t, s.source.Exec(s.t.Context(), fmt.Sprintf(`INSERT INTO %s ("key",d,dt,tm,t) VALUES
109109
('cdc','1935-01-01','1953-02-02 12:01:02','1973-02-02 13:01:02.123','14:21.654321'),
110110
('cdc','0000-00-00','0000-00-00 00:00:00','0000-00-00 00:00:00.000','00:00'),
111-
('cdc','2000-01-00','2000-00-01 00:00:00','2000-00-00 00:00:00.000','-800:0:1')`,
111+
('cdc','2000-01-00','2000-00-01 00:00:00','2000-01-01 00:00:00.000','-800:0:1')`,
112112
quotedSrcFullName)))
113113

114114
e2e.EnvWaitForEqualTablesWithNames(env, s, "waiting on cdc", srcTableName, dstTableName, "id,\"key\",d,dt,tm,t")

0 commit comments

Comments
 (0)