I am trying to import data into Vertica using the COPY command from a .txt file.
The file has field delimiter "\t", row delimiter "\n" and text qualifier "". So the data looks like this-
"Data1" "Data2" "Data3" "Data1" "Data2" "Data3" "Data1" "Data2" "Data3"
"Data1" "Data2" "Data3" "Data1" "Data2" "Data3" "Data1" "Data2" "Data3" "Data1" "Data2" "Data3"
Notice how the data in one row spills over to the next line in the .txt file.
If I try to specify my delimiter as '"\t"', I get Error 2730: COPY delimiter must be a single character. Whats the work around to this?
I do not want to change the format of the exported data
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.