diff --git a/README.md b/README.md index a4e7daa..61b9740 100644 --- a/README.md +++ b/README.md @@ -52,5 +52,5 @@ All DDL which will change the schema of table are supported (except index relate > **Note** > 1. Snowflake does not support partition table, tidb2dw will view table with multiple partitions as ordinary table. > 2. Snowflake has a lot of limitations on modifying column type, like Snowflake does not support update column default value, refer to [Snowflake Docs](https://docs.snowflake.com/en/sql-reference/sql/alter-table-column). -> 3. The type mapping from TiDB to Snowflake is defined [here](./snowsql/types.go). +> 3. The type mapping from TiDB to Snowflake is defined [here](./pkg/snowsql/types.go). > 4. Should execute at least one DML before DDL or will report error. diff --git a/changefeed.toml b/changefeed.toml index c25dd8f..99078e0 100644 --- a/changefeed.toml +++ b/changefeed.toml @@ -7,7 +7,7 @@ memory-quota = 4294967296 case-sensitive = true # 是否输出 old value,从 v4.0.5 开始支持,从 v5.0 开始默认为 true -enable-old-value = true +enable-old-value = false # 是否开启 Syncpoint 功能,从 v6.3.0 开始支持,该功能默认关闭。 # 从 v6.4.0 开始,使用 Syncpoint 功能需要同步任务拥有下游集群的 SYSTEM_VARIABLES_ADMIN 或者 SUPER 权限。 @@ -104,3 +104,7 @@ include-commit-ts = true integrity-check-level = "none" # 当单行数据的 Checksum 校验失败时,Changefeed 打印错误行数据相关日志的级别。默认值为 "warn",可选值为 "warn" 和 "error"。 corruption-handle-level = "warn" + +[sink.cloud-storage-config] +# 是否在 DDL JSON 文件中包含 column-id。默认值为 false。 +output-column-id = true diff --git a/version/version.go b/version/version.go index 1c5424b..2ffe880 100644 --- a/version/version.go +++ b/version/version.go @@ -6,7 +6,7 @@ var ( // TiDB2DWVerMinor is the minor version of TiDB2DW TiDB2DWVerMinor = 0 // TiDB2DWVerPatch is the patch version of TiDB2DW - TiDB2DWVerPatch = 1 + TiDB2DWVerPatch = 2 // TiDB2DWVerName is an alternative name of the version TiDB2DWVerName = "TiDB2DW" // GitHash is the current git commit hash