dbcli/athenacli

`sqlparse.compat` is not a module in `sqlparse` `0.4.x`

Moisan opened this issue · 2 comments

Trying to start athenacli when installed with the latest sqlparse leads to the following error:

from sqlparse.compat import text_type
ModuleNotFoundError: No module named 'sqlparse.compat'

It seems the issue is sqlparse's latest source distribution omits sqlparse.compat. But since python2 doesn't seem to be supported here anyway, the import could be dropped in favor of using str directly

zzl0 commented

Thank you @Moisan for reporting the error and thanks @branchvincent for fixing it