sql-error-categorizer 0.1.1__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/PKG-INFO +2 -2
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/pyproject.toml +2 -2
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/set_operations/select.py +0 -17
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/.gitignore +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/.readthedocs.yaml +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/LICENSE +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/Makefile +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/README.md +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/Makefile +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/conf.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/index.rst +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/make.bat +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/requirements.txt +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/q_cte.sql +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/q_q.sql +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/q_s.sql +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/requirements.txt +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/__init__.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/catalog/__init__.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/catalog/catalog.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/catalog/queries.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/__init__.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/base.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/complications.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/logical.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/semantic.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/syntax.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/__init__.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/extractors.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/query.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/set_operations/__init__.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/set_operations/binary_set_operation.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/set_operations/set_operation.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/smt.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/tokenized_sql.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/typechecking.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/util.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/sql_errors.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/util.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/test_detector.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/__init__.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/datasets/cat_miedema.json +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_02_ambiguous_column.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_04_undefined_column.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_05_undefined_function.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_06_undefined_functions.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_07_undefined_tables.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_08_invalid_schema_names.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_09_misspellings.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_14_aggregate_function_outside_select_or_having.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_15_nested_aggregate_functions.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_16_extraneous_omitted_grouping_column.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_17_having_without_group_by.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_19_using_where_twice.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_20_missing_from.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_21_comparison_with_null.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_22_38_additional_omitted_semicolons.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_24_duplicate_clause.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_26_too_many_columns_in_subquery.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_30_keywords_order.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_34_curly_square_or_unmatched_brackets.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_37_nonstandard_operators.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/2_sem/test_40_tautological_inconsistent_expressions.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/2_sem/test_41_distinct_sum_avg.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/2_sem/test_43_wildcards_without_like.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/2_sem/test_44_incorrect_wildcards.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/4_com/test_88_like_no_wildcards.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/conftest.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/test_extractors.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/test_query.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/test_typechecking.py +0 -0
- {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/test_query.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sql_error_categorizer
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: This project analyses SQL statements and labels possible errors or complications.
|
|
5
5
|
Project-URL: Repository, https://github.com/DavidePonzini/sql_error_categorizer
|
|
6
|
-
Project-URL: Documentation, https://
|
|
6
|
+
Project-URL: Documentation, https://sql-error-categorizer.readthedocs.io/en/latest/index.html
|
|
7
7
|
Project-URL: Bug Tracker, https://github.com/DavidePonzini/sql_error_categorizer/issues
|
|
8
8
|
Author-email: Davide Ponzini <davide.ponzini95@gmail.com>
|
|
9
9
|
License-File: LICENSE
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "sql_error_categorizer"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="Davide Ponzini", email="davide.ponzini95@gmail.com" },
|
|
10
10
|
]
|
|
@@ -25,5 +25,5 @@ dependencies = [
|
|
|
25
25
|
|
|
26
26
|
[project.urls]
|
|
27
27
|
"Repository" = "https://github.com/DavidePonzini/sql_error_categorizer"
|
|
28
|
-
"Documentation" = "https://
|
|
28
|
+
"Documentation" = "https://sql-error-categorizer.readthedocs.io/en/latest/index.html"
|
|
29
29
|
"Bug Tracker" = "https://github.com/DavidePonzini/sql_error_categorizer/issues"
|
|
@@ -188,23 +188,6 @@ class Select(SetOperation, TokenizedSQL):
|
|
|
188
188
|
|
|
189
189
|
return self._referenced_tables
|
|
190
190
|
|
|
191
|
-
@property
|
|
192
|
-
def join_conditions(self) -> list[exp.Expression]:
|
|
193
|
-
'''Returns a list of join conditions in the main query.'''
|
|
194
|
-
|
|
195
|
-
result: list[exp.Expression] = []
|
|
196
|
-
|
|
197
|
-
if not self.ast:
|
|
198
|
-
return result
|
|
199
|
-
|
|
200
|
-
joins = self.ast.args.get('joins', [])
|
|
201
|
-
for join in joins:
|
|
202
|
-
on = join.args.get('on')
|
|
203
|
-
if on:
|
|
204
|
-
result.append(on)
|
|
205
|
-
|
|
206
|
-
return result
|
|
207
|
-
|
|
208
191
|
@property
|
|
209
192
|
def output(self) -> Table:
|
|
210
193
|
'''
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/query.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/smt.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/util.py
RENAMED
|
File without changes
|
{sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/sql_errors.py
RENAMED
|
File without changes
|
{sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/util.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/test_typechecking.py
RENAMED
|
File without changes
|
|
File without changes
|