更新数据集成解决方案表映射
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | UpdateSolutionTableMappings | 要执行的操作,取值:UpdateSolutionTableMappings。 |
Version | String | 是 | 2026-03-01 | API的版本,取值:2026-03-01。 |
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
SolutionId | Long | 是 | 1 | 解决方案 ID |
ProjectId | Long | 是 | 1 | 项目 ID |
TempVersion | Long | 是 | -1 | 解决方案版本 |
Mappings | Array of Object | 是 | -- | 解决方案表映射配置 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
SolutionId | Long | 1 | 解决方案 ID |
Success | Boolean | true | 更新解决方案操作是否成功 |
POST /?Action=UpdateSolutionTableMappings&Version=2026-03-01 HTTP/1.1 Host: dataleap.cn-beijing.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20260414T094926Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260414/cn-beijing/dataleap/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "SolutionId": 1, "ProjectId": 1, "TempVersion": -1, "Mappings": [ { "EnableSnapshot": true, "EnabledTruncateTable": true, "TableCreationType": "NEW", "Reader": { "DataSourceId": 1, "Parameter": { "ProjectId": 1, "DatabaseName": "test_database", "SchemaName": "test_schema", "TableName": "test_table", "Columns": [ { "Name": "column1", "Type": "String", "Value": "WfY83RMIJ", "Nullable": true, "Description": "test column", "IsPartitionColumn": true, "IsPrimaryKey": true, "Precision": 32, "Scale": 6, "IsAdditionalColumn": "false", "SupportTypeList": [ "vZStyK335q" ], "DefaultValue": "test", "DefaultValueRawExpression": true, "Properties": "twWwFO12go5", "Length": 128 } ], "SplitKeys": [ "1TnkAeoS6o" ], "ShardingKeys": [ "3w" ], "SortStrategy": { "SortType": "SMART" }, "PartitionKeys": [ "zwfp3" ], "OrderByKeys": [ "KaXLZn" ], "Properties": [ { "Name": "key1", "Value": "value1" } ] } }, "LogicReader": { "Readers": [ { "DataSourceId": 1, "DataSourceType": "mysql", "DataSourceName": "读数据源", "CatalogMetas": [], "Properties": [ { "Name": "key1", "Value": "value1" } ] } ], "FilterExps": { "DatabaseName": [ { "FilterType": "FULL", "FilterAction": "INCLUDE", "FilterPattern": "test" } ], "SchemaName": [ { "FilterType": "FULL", "FilterAction": "INCLUDE", "FilterPattern": "test" } ], "TableName": [ { "FilterType": "FULL", "FilterAction": "INCLUDE", "FilterPattern": "test" } ] }, "ReaderTableMode": "STATIC_TABLE_SPECIFIED", "BinlogType": "DEBEZIUM_JSON", "LogicCatalogMeta": { "DatabaseName": "test_database", "SchemaName": "test_schema", "TableName": "test_table" }, "Parameter": { "LogicDatabaseName": "default", "LogicTableName": "default", "Columns": [ { "Name": "column1", "Type": "String", "Value": "id7W2UZU", "Nullable": true, "Description": "test column", "IsPartitionColumn": true, "IsPrimaryKey": true, "Precision": 32, "Scale": 6, "IsAdditionalColumn": "false", "SupportTypeList": [ "PuZl7A7UgD7" ], "DefaultValue": "test", "DefaultValueRawExpression": true, "Properties": "CsM", "Length": 128 } ], "SplitKeys": [ "3jX5c" ] } }, "Writer": { "DataSourceId": 1, "Parameter": { "ProjectId": 1, "DatabaseName": "test_database", "SchemaName": "test_schema", "TableName": "test_table", "Columns": [ { "Name": "column1", "Type": "String", "Value": "Lbd", "Nullable": true, "Description": "test column", "IsPartitionColumn": true, "IsPrimaryKey": true, "Precision": 32, "Scale": 6, "IsAdditionalColumn": "false", "SupportTypeList": [ "Ifi" ], "DefaultValue": "test", "DefaultValueRawExpression": true, "Properties": "638H", "Length": 128 } ], "SplitKeys": [ "OOUuuCGSJ" ], "ShardingKeys": [ "Tjhdx" ], "SortStrategy": {}, "PartitionKeys": [ "nEzeDBmmByg" ], "OrderByKeys": [ "GA" ], "Properties": [ { "Name": "key1", "Value": "value1" } ] } }, "TransformConfigs": [ "53lgVNklJ0" ], "SyncStrategy": { "Ddl": { "CreateTable": "IGNORE", "DropTable": "IGNORE", "AddTableColumn": "IGNORE", "DropTableColumn": "IGNORE", "RenameTable": "IGNORE", "RenameTableColumn": "IGNORE", "UpdateTableColumn": "IGNORE", "TruncateTable": "IGNORE" }, "Cycle": { "Frequency": "hourly", "RetryNum": 1, "RetryInterval": 1, "ScheduleTime": "0", "ScheduleDay": "1,2,3", "ScheduleMonth": "1" }, "Incremental": { "FilterCondition": "ID > 0" }, "WriteMode": "w7JY81XB" }, "AdvancedConfig": { "ColumnAlignmentType": "NO_ALIGNMENT", "BatchMode": "JDBC", "DtsSubscriptionTaskId": "dts_123", "DtsSubscriptionTaskName": "test_subscribe", "Debezium": [ "c" ], "CustomParameter": [ { "Key": "key1", "Value": "value1", "Type": "String" } ] }, "PartitionMode": "NoPartitionMode", "PartitionDefinition": "partition1" } ] }
{ "ResponseMetadata": { "RequestId": "20260414174931255205154230359D8B", "Action": "UpdateSolutionTableMappings", "Version": "2026-03-01", "Service": "dataleap", "Region": "cn-beijing" }, "Result": { "SolutionId": 1, "Success": true } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
200 | InternalError | 更新解决方案表映射出错 |