I think we should look into replacing sqlparse with a parser generated from the CrateDB antlr grammar, to ensure it supports our SQL dialect.
See https://github.com/antlr/antlr4/blob/4.6/doc/python-target.md
Originally posted by @mfussenegger in #432 (review)