apache / apache/doris-streamloader

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

Offen
#38 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
36
Forks
24
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
go, powershell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.