答案在这里:
http://docs.aws.amazon.com/redshift/latest/dg/copy-parameters-data-format.html
字段必须是管道'|' 默认分开.行应该用新行分隔.
更新的更正代码:
let AWS = require('aws-sdk'); let firehose = new AWS.Firehose(); let params = { DeliveryStreamName: 'people', // id,name,age Records: [{Data: '4ccf6d3a-acdf-11e5-ad54-28cfe91fa8f1|Bob|Smith\n'}] }; firehose.putRecordBatch(params, (err, result) => { console.log(err || result); });