Wells Oliver
2012-04-14 22:45:47 UTC
I have CSV files blowing up because they have double quotes around numeric
values: " 1.34" yields ERROR: invalid input syntax for type numeric: "
1.34"
And occasionally these are empty, and you see invalid syntax for type
numeric: " "
Are there flags I can pass to COPY to avoid this? There are properly quoted
string values elsewhere in the final, so I'm reticent to strip out double
quote characters or anything.
Thank you.
values: " 1.34" yields ERROR: invalid input syntax for type numeric: "
1.34"
And occasionally these are empty, and you see invalid syntax for type
numeric: " "
Are there flags I can pass to COPY to avoid this? There are properly quoted
string values elsewhere in the final, so I'm reticent to strip out double
quote characters or anything.
Thank you.
--
Wells Oliver
***@gmail.com
Wells Oliver
***@gmail.com