I have come across a scenario where we need to load some data in the Vertica table.
The data here is in a special format
Flat file
Code: Select all
A|B|C|D|edfg|hi|jk|L|J|R|
A|B|C|D|hdjf|ih|gm|L|J|R|
So that completely is a string which needs to be loaded into single column in Vertica table.
I am using the copy command for this, but Vertica gives "Column mismatch error" as interpreted by Vertica.
How can I load this data into Vertica in a table with 8 columns.