COPY's usage with complex types - ARRAY
I would like to be able to COPY into Vertica data using a complex type, in this case an Array, is it possible ?
For example, having this dataset, how could I use COPY to load the data on Vertica with the "accepted_forms" as an array ?
| id | name | accepted_forms |
|---|---|---|
| 1 | foo | "[form1, form2]" |
| 2 | bar | "[form2]" |
Tagged:
0
Answers
I did not manage without a
STRING_TO_ARRAY()function call