Skip malformed CSV lines in WikiInfo parser#832
Skip malformed CSV lines in WikiInfo parser#832prashantkumarniraj wants to merge 2 commits intodbpedia:masterfrom
Conversation
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughTwo files are updated to improve robustness when handling malformed input. WikiInfo.scala refactors CSV parsing to validate fields, handle malformed lines gracefully, and log issues instead of throwing exceptions. ExtractionManager.scala updates namespace handling to use optional logic and log warnings when namespaces are unavailable, rather than failing. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Tip We've launched Issue Planner and it is currently in beta. Please try it out and share your feedback on Discord! Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |



Malformed rows in wikipedias.csv are now logged and skipped instead of
throwing exceptions and aborting the download process.
Fixes #831
Summary by CodeRabbit
Bug Fixes
Chores