【发布时间】:2014-09-08 18:33:16
【问题描述】:
我正在尝试将 S3 中的 CSV 加载到 Redshift。数据如下所示:
tweet_id,tweet_text,created_at,geo_lat,geo_long,user_id,screen_name,name,profile_image_url,is_rt
477097990809612288,RT @Sourpatchcam: Matthew espinosa is the reason I breath,2014-06-12 10:39:59,.00000,.00000,969145484,PerfectJvcob,PerfectJvcob || Bio,http://pbs.twimg.com/profile_images/477092469893382146/k1YAOGRf_normal.jpeg,True
477097991049064448,@ajama3 @SultansThrone @itsfuad Dont hold your breath.,2014-06-12 10:39:59,.00000,.00000,719529744,MareejoXaamud,¯\_(ツ)_/¯,http://pbs.twimg.com/profile_images/471392213906104321/VbyMbZ7e_normal.jpeg,False
我收到此错误:
Missing newline: Unexpected character 0x74 found at location 2
(字符 0x74 是 t)。
我尝试删除标题行,但我得到了“4”的意外字符。我的源代码中需要 /n 吗?
【问题讨论】:
标签: csv amazon-web-services amazon-redshift