调试管道:errorCode:2200 - 将double转换为字符串的问题 [英] Debug the pipeline: errorCode: 2200 - problem with convert double to string

查看:210
本文介绍了调试管道:errorCode:2200 - 将double转换为字符串的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们遇到问题,将Oracle DB中的列映射到Azure搜索。

We have problem, with mapping columns from Oracle DB to Azure Search.

我们的oracle表中有列:

ID - number

We have column in our oracle table:
ID - number

REFERENCES - string

REFERENCES - string

我们尝试将此数据复制到Azure搜索中。 Azure搜索的结构:

And we try to copy this data to our Azure Search. Structure of Azure Search:

id - string

id - string

ref - string

ref - string

当我们选择映射时ID(双) - > id(string),REFERENCES(string) - > ref(string)我们有错误,接收器(在这种情况下是Azure搜索)不能将double转换为字符串。 

And, when we choose mappings ID(double) -> id(string), REFERENCES(string) -> ref(string) we have error, that the sink (in this case Azure Search) can not convert double to string. 

我们正在尝试很多optoins,但现在没有进展。

We are trying many optoins, but at now no progress.

这是我们的文件:


{

推荐答案

Hi Kamil,

Hi Kamil,

您必须在复制前转换数据类型。为此,您可以使用自定义活动或Azure功能活动从Oracle SQL读取数据并在复制之前转换数据类型。要阅读有关自定义活动的更多信息,请参阅

此文档

You will have to convert the data type before copying. To do so, you can use a custom activity or an Azure Function Activity to read the data from Oracle SQL and convert the data type before copying. To read more about custom activities, please refer this doc.

通过门户网站完成此操作的一种简单方法是使用Mapping Data Flow。要了解更多信息,请参阅

此文档

An easy way to do it through the portal is by using Mapping Data Flow. To read more about it, please refer this doc.

希望这会有所帮助。


这篇关于调试管道:errorCode:2200 - 将double转换为字符串的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆