Commit f022940
authored
Remove sqlparse.compat import (#38)
sqlparse do no longer have sqlparse.compat. It was removed in version 0.4.
It is missing from GitHub source and sqlparse-0.4.2.tar.gz from PyPI. But
it exist in sqlparse-0.4.2-py3-none-any.whl from PyPi for some strang reasone.
Since databricks-sql-cli import 'text_type' form sqlparse.compat it will fail if you install
sqlparse in any other way other than wheel.
sqlparse was remooved in the following commit:
andialbrecht/sqlparse@3e3892f
'text_type' was replaced with 'str' so we do the same in databricks-sql-cli.1 parent 345ca09 commit f022940
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
0 commit comments