How to Skip data when loading data in Vertica Database
In Vertica all data should be loaded using the copy command. The copy command comes with many options that are very useful when loading data into your Vertica database.
How to skip a rows when loading data from a csv file.
Our data.csv files has the following content.
And table that will receive the load is called test.
To be able to skip one or more rows we will use the SKIP option of the copy command:
we can see that the line number 1 was skipped and only the rest of the lines were loaded.