How we built a Streaming SQL Engine