apache / apache/doris-streamloader

[BUG] use master batch build.bat get stream-loader.exe file ,run command error

Aperta
#38 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
36
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

soft: powershell
command:
./doris-streamloader `
--u "xxx" `
--p 'xxx' `
--source_file "xxx.bcp" `
--url "http://xxx:8030" `
--workers 1 `
--db "xxx" `
--table "xxx" `
--header "Expect:100-continue?column_separator:\t?columns:etl_date='2026-06-12'"

error:
4.Otherwise, just retry.
line=reader/reader.go:139
time=2026-06-18 16:06:09 level=error msg=5.When using a specified line delimiter, the file must end with that delimiter. line=reader/reader.go:141

Image
RESULT:
windows file no lineDelimiter,
i user linux run this command it no problem, this problem just occur In source code master batch,and windows enviroment

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start in reader/reader.go around lines 139-141 and reproduce the command with the Windows-built stream-loader.exe, using a source file without an explicit line delimiter. Compare its delimiter and end-of-file handling with the Linux run. Done means the Windows batch build processes the same file successfully or reports the delimiter requirement consistently.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go, powershell
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.