我从Redshift中收到以下错误。小数:Redshift中的整数太大COPY
Decimal: Integral number too large
这是插入以下CSV行
2015-03-20,A_M300X250CONTENT_INT_ADSENSE,3443,3443,1.4,13,,
该错误是由1.4
抛出时发生。
该列的定义是这样的:
schemaName | tablename | column | type | encoding | disktkey | sortkey | notnull
-----------|-----------|-----------------|--------------|----------|----------|---------|---------
public | partners | revenue_partner | numeric(7,7) | none | false | 0 | false
这个拷贝工作得很好,当类型为numeric(7,2)
,但我需要改变它确定一个舍入误差。
谢谢!我现在要试试 – JuanCaicedo
这样做了,再次感谢 – JuanCaicedo