Closed japinli closed 5 years ago
Sorry, but VOPS requires that types of columns in source and destination table for populate functions should be compatible. Unfortunately there was not such check, so it is possible to perform incorrect import of data. I have committed patch with such check which prohibit import as in your case when DECIMAL(15,2) is assigned to FLOAT4. You can use view which perform will cast column of original table to the requested type and pass name of this view to populate function instead of original table.
Thanks for your replay. When I use float4
it works.
Sorry, this newly introduced incompatibility with 10.x version is fixed.
Hi, I am recently test VOPS and find that the result of
sum
andavg
are not the same as PostgreSQL. The following code is my test case.The VOPS commit is
7ffe6fd9ffc62e2
, and PostgreSQL isREL_10_7
.