Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Doing a dynamo load into redshift I got this error that didn't show up in the Redshift docs or as a literal string into google at all.

# copy redshift_table_name from 'dynamodb://DYANAMOTABLENAME' credentials 'aws_access_key_id=XXXX;aws_secret_access_key=YYY' readratio 98;
ERROR:  Invalid end Key specified
DETAIL:
  -----------------------------------------------
  error:  Invalid end Key specified
  code:      9005
  context:   Table Name = DYNAMOTABLENAME
  query:     1042978
  location:  table_dynamodb_scanner.cpp:242
  process:   query0_s0_26 [pid=21105]
  -----------------------------------------------
share|improve this question

1 Answer 1

This happens when the hashkey or rangekey in the dynamo table don't have corresponding columns in the redshift table. Make sure they exactly match in name and have suitable types.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.