G github.com Show HN: GoSQL – A query engine in 319 LoC I've always been curious about how SQL engines actually work.So I built a minimum viable SQL engine in Go.- Supports CSV files as tables- Supports SELECT, FROM, WHERE, LIMITIt's very simple:1. Parses query string2. Converts it into an AST representation3. Executes the query against the CSV4. Returns the results 81 points archiewood 2 years ago 9 comments
So I built a minimum viable SQL engine in Go.
- Supports CSV files as tables
- Supports SELECT, FROM, WHERE, LIMIT
It's very simple:
1. Parses query string
2. Converts it into an AST representation
3. Executes the query against the CSV
4. Returns the results