My pipeline is configured to copy data from S3 bucket to DynamoDB Table. I am using HiveActivity with the following script:
CREATE EXTERNAL TABLE s3_table (hash STRING, attribute STRING) LOCATION '#{myInputS3Loc}';
INSERT OVERWRITE TABLE #{myDDBTableName} SELECT * FROM s3_table;
I am getting this error:
FAILED: SemanticException [Error 10001]: Line 2:23 Table not found 'TableName'
I have verified that the table exists in DynamoDB. Please advise.