You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mysql> set sql_mode='ONLY_FULL_GROUP_BY,ALLOW_INVALID_DATES' ;
ERROR 1231 (42000): Variable 'sql_mode' can't be set to the value of 'ALLOW_INVALID_DATES'
我在tidb 启动 ticdc 往starrocks 同步数据时 报错:
Error: [CDC:ErrMySQLConnectionError]fail to open MySQL connection: Error 1231 (42000): Variable 'sql_mode' can't be set to the value of 'ALLOW_INVALID_DATES'
Then, what's the behavior when inserting a invalid date, like '2025-02-30'? Set it to NULL?
If you just want to ignore ALLOW_INVALID_DATES, and everything works fine, you can just add it into fe/fe-core/src/main/java/com/starrocks/qe/SqlModeHelper.java, and let some members to review it. It's not difficult.
mysql> set sql_mode='ONLY_FULL_GROUP_BY,ALLOW_INVALID_DATES' ;
ERROR 1231 (42000): Variable 'sql_mode' can't be set to the value of 'ALLOW_INVALID_DATES'
我在tidb 启动 ticdc 往starrocks 同步数据时 报错:
Error: [CDC:ErrMySQLConnectionError]fail to open MySQL connection: Error 1231 (42000): Variable 'sql_mode' can't be set to the value of 'ALLOW_INVALID_DATES'
希望 starrocks sql_mode 加一下这个ALLOW_INVALID_DATES 这样的话 tidb的 cdc 就可以直接增量同步数据到 starrocks 了 。
联系人: starrocks社群群4 何明 陈磊
The text was updated successfully, but these errors were encountered: