Hello.
I'm trying to load data from rfc4180 csv file using COPY like this:
copy public.tmp_items_search from stdin PARSER FCSVParser(type='rfc4180') REJECTED DATA AS TABLE "rej_items_search_test" DIRECT COMMIT
And everything works fine untill there is a string with a length bigger than a size specified in column definition.
Im getting weird error
Row [3] rejected due to materialized type error on column: [ref] with value: [https://....].
So I try reject_on_materialized_type_error=FALSE like this
copy public.tmp_items_search from stdin PARSER FCSVParser(type='rfc4180',reject_on_materialized_type_error=FALSE,header=TRUE) REJECTED DATA AS TABLE "rej_items_search_test" DIRECT COMMIT
And it does not work too. Looks like reject_on_materialized_type_error takes no effect.
Does anybody know how to make vertica to ignore just a single value instead of a whole row.
Or maybe there is an option to cut value length for a column during copy.