Parsers/json: rewrite and speedup #210
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
🚀 Rewrite JSON Parser
Background
The current JSON parser (generic_parser.go) is complex, slow (~40-50MB/s), and overloaded with configuration options that are rarely used. We need a more efficient and streamlined solution while maintaining reasonable backward compatibility.
Why?
Scope
✅ Canon tests should work for same old and new parser
✅ Faster parsing using tidwall/gjson or utilize current lib fastjson.Get for efficient field extraction.
✅ Simplified implementation with fewer unnecessary options.
✅
_rest
column to store fields not explicitly defined in the schema.✅ Optional system columns.
✅ Better maintainability and performance.
✅ Performance measured in benchmark
❌ Unnecessary configuration options that add complexity without significant benefit.
❌ Legacy behaviors that are too expensive to backport.
Compatibility Considerations
_rest
and system columns must be preserved to avoid breaking existing workflows.The text was updated successfully, but these errors were encountered: