1

在 SQL Server 2012 Data Quality Services 中,我需要清理 Term Based Relation 中的数据,如下所示:

字符串替换**

沃尔玛**

沃尔玛沃尔玛**

沃尔玛**

沃尔玛

即“wal”、“wlr”和“wlt”必须替换为“walmart”,最后“walmart”替换为空白。

它显示错误为

SQL Server Data Quality Services
--------------------------------------------------------------------------------
2/1/2013 2:48:37 PM
Message Id: DataValueServiceTermBasedRelationCorrectedValueAlreadyCorrectingValue
Term Based Relation (walmart, ) cannot be added for domain 'keywordphrase' because 'walmart' value already exists as a correcting value.
--------------------------------------------------------------------------------
Microsoft.Ssdqs.DataValueService.Service.DataValueServiceException: Term Based Relation (walmart, ) cannot be added for domain 'keywordphrase' because 'walmart' value already exists as a correcting value.
   at Microsoft.Ssdqs.DataValueService.Managers.DomainTermBasedRelationManager.PreapareAndValidateRelation(DomainTermBasedRelation relation, IMasterContext context)
   at Microsoft.Ssdqs.DataValueService.Managers.DomainTermBasedRelationManager.Add(IMasterContext context, ServiceDefinitionBase data)
   at Microsoft.Ssdqs.DataValueService.Service.DataValueServiceConcrete.Add(IMasterContext context, ReadOnlyCollection`1 data)

对解决方案的任何建议谢谢,

4

1 回答 1

-1

据我了解,DQS 不支持多级替换(即 a->b 然后 b->c)。为什么不直接在前三个学期做空呢?

于 2014-08-10T15:40:32.710 回答