0
votes

I have two DynamoDB tables, one with a Map data type (JSON) and one with a List data type (list of JSON).

Our current pipeline to Redshift claims these are unsupported data types.

How can I transform these columns to Redshift as varchar(MAX)?

1

1 Answers

0
votes

Can you provide your AWS DataPipeline pipeline id?

Also, take a look at this sample which uses Data Pipeline's HiveActivity and RedshiftCopyActivity to copy data from a DynamoDB table to a Redshift table while performing data conversion using Hive (for data transformation) and S3 (for staging). This sample was motivated by a use case where one wishes to convert the data type of one column to another data type. This sample demonstrates converting a column from binary to base64 string.

https://github.com/awslabs/data-pipeline-samples/tree/master/samples/DynamoDBToRedshiftConvertDataUsingHive