Vertica documentation is moving! Use our new documentation site at https://docs.rocketsoftware.com/bundle/vertica_24.1/page/index.html
copy-local-must-be-first-note.md
Note
COPY LOCAL must be the first statement in a query,otherwise Vertica returns an error.