-
Business Reason
[High] Update `sqlparse` to 0.5.0
[https://security.snyk.io/vuln/SNYK-PYTHON-SQLPARSE-6615674?_gl=1%2a5f3q2n%2a_ga%2aNjAwMDk0MzU0LjE3MDY1NjU5MzA.%2a_ga_X9SH3KP7B4%2aMTcxOTI3MjUyMi4yM…
-
It would be great to check out if we could upgrade the sqlparse library to the latest version due to some `Uncontrolled Recursion` issue that might happen on version 0.4
IceS2 updated
2 weeks ago
-
**Describe the bug**
A SQL containing aliased function calls is parsed (and formatted) wrong when the `AS` keyword is mussing.
**To Reproduce**
```python
good_sql_no_alias = "select extract(year…
-
### Is this a new bug in dbt-redshift?
- [X] I believe this is a new bug in dbt-redshift
- [X] I have searched the existing issues, and I could not find an existing issue for this bug
### Current Be…
-
When increasing the number of keys in `IN` clauses, the runtime of the query is sgnificantly increased. This means that queries with large numbers of keys are running for a very long time (several sec…
-
$ pip list
Package Version
------------------- -------
asgiref 3.8.1
dj-rest-auth 6.0.0
Django 5.0.7
django-allauth 0.63.6
django-filter 2…
-
The following two sql commands should be equivalent, but the missing space in the second case causes it not to recognize the select.
I am starting now to use `sqlparse`, so please let me know if t…
-
When parsing a query, if it has more than one statement, the statement of index 1+ has to start with a correct keyword to be correctly identified as an statement and therefore parsed.
For these exa…
-
Vulnerable Library - sqlparse-0.4.4-py3-none-any.whl
A non-validating SQL parser.
Library home page: https://files.pythonhosted.org/packages/98/5a/66d7c9305baa9f11857f247d4ba761402cea75db6058ff850ed…
-
```py
from cratedb_sqlparse import sqlparse
query = """
SELECT COUNT(*) FOM doc.tbl f WHERE f.id = 1;
INSERT INTO doc.tbl VALUES (1, 23, 4);
"""
t = sqlparse(query)
t1 = t[0]
print(t1.exce…