DalongZhenZ commented on issue #38:
URL: 
https://github.com/apache/doris-streamloader/issues/38#issuecomment-4739646479

   <img width="1911" height="769" alt="Image" 
src="https://github.com/user-attachments/assets/f28af6bc-6b56-43d2-8096-76459f204cfd";
 />  if err == io.EOF && len(line) == 0 {
                                file.Close()
                                break
                        } else if err == io.EOF && len(line) != 0 {
                                // The file does not end with the line 
delimiter (e.g. Windows BCP files).
                                // Treat the remaining bytes as the last line 
and continue normally.
                                line = append(line, lineDelimiter)
                                data = append(data, line...)
                                if retryCount == 0 {
                                        loadResp.TotalRows++
                                }
                                file.Close()
                                break  如果替换成这个,重新build就可以了,但是我不知道改的对不对,我测试了是可以的


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to