I'm having trouble loading some data into Vertica from S3. The error I'm getting is:
SQL Error [5861] [VP001]: [Vertica][VJDBC](5861)
ERROR: Error calling plan() in User Function S3SourceFactory at [src/S3.cpp:265], error code: 0, message:
The request signature we calculated does not match the signature you provided. Check your key and signing method.
I'm using AWS_SET_CONFIG() to set AWS credentials in my session, and I am able to successfully load some data from S3 into Vertica. However, a specific set of data on S3 doesn't work, yielding the above error.
The statement I'm using to copy the data looks like this:
COPY schema_name.table_name SOURCE s3(bucket='s3://bucket-name/path/part1.csv') RECORD TERMINATOR '\r\r\n' DELIMITER ',' ABORT ON ERROR;
I'm running Vertica v8.1.1-0.
Any clues on why I might be getting the above error?