Error loading data using PloadDelimitedSource, especially with REJECTED DATA and EXCEPTIONS
We managed to install and use the pload library. However, we are having trouble getting the REJECTED DATA and EXCEPTIONS clauses to work. They seem to only work with COPY LOCAL.
For example:
COPY some_schema.some_table with source PloadDelimitedSource(file='/tmp/some_file.txt') DELIMITER E'\t' REJECTED DATA '/tmp/failed.rejected_lines' EXCEPTIONS '/tmp/failed.why_they_failed' DIRECT
I get the following error:
vsql:example.sql:10: ERROR 4368: Permission denied for storage location [/tmp/failed.why_they_failed]
But locally, all permissions are ok (especially since it is /tmp)
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.