Redshift COPY command delimiter not found

后端 未结 7 1808
有刺的猬
有刺的猬 2021-02-02 07:09

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 s

7条回答
  •  眼角桃花
    2021-02-02 07:20

    You can get the delimiter not found error if your row has less columns than expected. Some CSV generators may just output a single quote at the end if last columns are null.

    To solve this you can use FILLRECORD on Redshift copy options.

提交回复
热议问题