我正在使用datafactory创建数据流,目前正在从blob获取一个csv。
3列应视为两倍。当我执行“导入模式”时,结果如下:
但是在数据预览中:
并且如果我将类型更改为字符串,则可以正常工作:
为什么认为不可能是双倍?我需要进行汇总并求和值,以便字符串完全不兼容
我尝试指定格式,但不会更改任何内容(这里是一个只有2行的测试csv文件,因此在其他行中具有字符串或类似内容没有问题)谢谢
编辑:我不了解的是,导入模式将列理解为双精度列,那么为什么它在数据预览中失败了?
错误是由于选项Validate schema引起的,请不要选择它。
Validate schema
例如:
这是我的csv数据:
单击Validate schema时:
。
[如果我们不选择Validate schema,则数据预览效果很好:
根据我的经验,如果我们在数据流中选择Validate schema选项,则数据预览通常会出现错误。
希望这会有所帮助。