You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSONL import swallows per-record errors and reports success; a failed vertex cascade-drops its edges #6468
The JSONL importer catches every per-record exception, logs it at SEVERE, and continues, and load() commits and returns normally regardless — so a partial import reports success. A single failed vertex leaves its RID out of the RID map, which then cascade-drops every edge touching it. This is the delivery mechanism that turns per-value import bugs into whole-subgraph loss with a "success" result.
loadDocument/loadVertex/loadEdge each catch (Exception e) { LogManager...SEVERE; } and continue (:308-310, :326-328, :365-367).
A skipped vertex never does ridIndex.put(oldRid, ...), so its edges hit the newOut/newIn == null branch (:339-352) → logged SEVERE → dropped.
load() commits every N rows and returns normally (:99-109); there is no aggregate failure count or non-zero exit.
Repro
Import any JSONL export containing a record that fails to deserialize (e.g. the DATE-unit bug, a schema mismatch): the record and all its edges vanish, but the import prints its counters as if complete and exits successfully.
Suggested fix
Track a skipped-record count in ImporterContext and fail the operation (or surface a non-zero status / structured error summary) when any record was skipped, unless an explicit --skip-errors flag is set.
Scope / confidence
High (code read). This is the amplifier behind the temporal/LINK fidelity bugs; on its own it is a "fail loud vs fail silent" policy issue, so framing it as a correctness/observability fix rather than a crash.
Activity
fix(ArcadeData#6468): JSONL importer must fail loudly when records ar…
test(ArcadeData#6468): add abort/skip-mode tests for JSONL import errors
test(ArcadeData#6468): clean up license header
review(ArcadeData#6468): close the skip-mode ghost-record gap and cen…
docs(ArcadeData#6468): add release note for the JSONL importer fail-l…
Merge pull request #6498 from waterWang/fix-6468-jsonl-importer-errors
build: restore the missing trailing newline in JsonLImporterIT