检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
CDM在配置字段映射时提示字段的数据类型不支持,要求删除该字段。如果需要使用该字段,可在源端作业配置中使用SQL语句对字段类型进行转换,转换成CDM支持的类型,达到迁移数据的目的。 操作步骤 修改CDM迁移作业,通过使用SQL语句的方式迁移。 SQL语句格式为:“select id
“结尾保留长度”为“4”。 “替换字符”为“*”。 去前后空格 自动去字符串前后的空值,不需要配置参数。 字符串反转 自动反转字符串,例如将“ABC”转换为“CBA”,不需要配置参数。 字符串替换 替换字符串,需要用户配置被替换的对象,以及替换后的值。 去换行 将字段中的换行符(\n、\r、\r\n)删除。
转换器类型选择“表达式转换”,目前表达式转换支持字符串和日期类型的函数,语法和Java的字符串和时间格式函数非常相似,可以查看表达式转换了解如何编写表达式。 本例中源时间格式是“yyyy/MM/dd HH:mm:ss”,要将其转换成“yyyy-MM-dd HH:mm:ss.SSS
CDM在配置字段映射时提示字段的数据类型不支持,要求删除该字段。如果需要使用该字段,可在源端作业配置中使用SQL语句对字段类型进行转换,转换成CDM支持的类型,达到迁移数据的目的。 操作步骤 修改CDM迁移作业,通过使用SQL语句的方式迁移。 SQL语句格式为:“select id
HANA 支持从SAP HANA导出数据。 参见配置SAP HANA源端参数。 云数据库 PostgreSQL 云数据库 SQL Server Microsoft SQL Server PostgreSQL 支持从云端的数据库服务导出数据。 这些非云服务的数据库,既可以是用户在本地数
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
在Network请求中,寻找Name形如“09318f28-939f-4ab6-a374-9e621096652c”的长字符串。 图3 寻找长字符串 单击该字符串,弹出具体请求的弹窗。在Request URL中,可以确认该字符串即为该资产的guid。 图4 获取guid 父主题: 使用前必读
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
String jsonPath) 返回json字符串指定路径下的字段值。类似于XPath,path方法可以通过路径检索或设置JSON,其路径中可以使用.或[]等访问成员、数值,例如:tables[0].table_name。 字符串变量str的内容如下: {
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
total Integer 总量。 records Array of CodeTableVO objects 查询到的码表对象(CodeTableVO)数组。 表7 CodeTableVO 参数 参数类型 描述 id String 码表ID,ID字符串。 name_en String 表名称,英文名。
描述 id String 编码,ID字符串。 relation_id String 关系ID,ID字符串。 source_field_id String 源字段ID,ID字符串。 target_field_id String 目标字段ID,ID字符串。 source_field_name
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
QualityInfoVO 参数 参数类型 描述 id String 编码ID,ID字符串。 table_id String 表ID,只读,ID字符串。 attr_id String 属性ID,只读,ID字符串。 biz_type String 业务实体类型。 枚举值: AGGREGATION_LOGIC_TABLE:
strings 源表名称数组,只读。 src_table_db_names Array of strings 源表db名称数组,只读。 src_table_model_ids Array of strings 源表在关系建模中的模型ID数组,只读,ID字符串。 src_table_id_list
为Byte[]数组(二进制)写入HBase,其他类型的按字符串写入。如果这几种类型中,有合并做rowkey的,就依然当字符串写入。 该功能作用是:降低存储占用空间,存储更高效;特定场景下rowkey分布更均匀。 false:源端数据库中所有类型的数据,都会按照字符串写入HBase。