Redshift COPY command delimiter not found
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to load some text files to Redshift. They are tab delimited, except for after the final row value. That's causing a delimiter not found error. I only see a way to set the field delimiter in the COPY statement, not a way to set a row delimiter. Any ideas that don't involve processing all my files to add a tab to the end of each row? Thanks 回答1: I don't think the problem is with missing <tab> at the end of lines. Are you sure that ALL lines have correct number of fields? Run the query: select le.starttime, d.query, d.line_number, d