{"by":"archiewood","descendants":9,"id":41765409,"kids":[41768169,41768724,41768079,41770057,41767118,41774738,41765410],"score":81,"text":"I&#x27;ve always been curious about how SQL engines actually work.<p>So I built a minimum viable SQL engine in Go.<p>- Supports CSV files as tables<p>- Supports SELECT, FROM, WHERE, LIMIT<p>It&#x27;s very simple:<p>1. Parses query string<p>2. Converts it into an AST representation<p>3. Executes the query against the CSV<p>4. Returns the results","time":1728304755,"title":"Show HN: GoSQL – A query engine in 319 LoC","type":"story","url":"https://github.com/archiewood/gosql"}