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.
Files changed (72) hide show
  1. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/PKG-INFO +2 -2
  2. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/pyproject.toml +2 -2
  3. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/set_operations/select.py +0 -17
  4. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/.gitignore +0 -0
  5. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/.readthedocs.yaml +0 -0
  6. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/LICENSE +0 -0
  7. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/Makefile +0 -0
  8. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/README.md +0 -0
  9. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/Makefile +0 -0
  10. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/conf.py +0 -0
  11. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/index.rst +0 -0
  12. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/make.bat +0 -0
  13. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/docs/requirements.txt +0 -0
  14. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/q_cte.sql +0 -0
  15. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/q_q.sql +0 -0
  16. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/q_s.sql +0 -0
  17. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/requirements.txt +0 -0
  18. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/__init__.py +0 -0
  19. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/catalog/__init__.py +0 -0
  20. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/catalog/catalog.py +0 -0
  21. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/catalog/queries.py +0 -0
  22. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/__init__.py +0 -0
  23. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/base.py +0 -0
  24. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/complications.py +0 -0
  25. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/logical.py +0 -0
  26. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/semantic.py +0 -0
  27. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/detectors/syntax.py +0 -0
  28. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/__init__.py +0 -0
  29. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/extractors.py +0 -0
  30. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/query.py +0 -0
  31. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/set_operations/__init__.py +0 -0
  32. {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
  33. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/set_operations/set_operation.py +0 -0
  34. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/smt.py +0 -0
  35. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/tokenized_sql.py +0 -0
  36. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/typechecking.py +0 -0
  37. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/query/util.py +0 -0
  38. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/sql_errors.py +0 -0
  39. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/src/sql_error_categorizer/util.py +0 -0
  40. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/test_detector.py +0 -0
  41. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/__init__.py +0 -0
  42. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/datasets/cat_miedema.json +0 -0
  43. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_02_ambiguous_column.py +0 -0
  44. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_04_undefined_column.py +0 -0
  45. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_05_undefined_function.py +0 -0
  46. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_06_undefined_functions.py +0 -0
  47. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_07_undefined_tables.py +0 -0
  48. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_08_invalid_schema_names.py +0 -0
  49. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_09_misspellings.py +0 -0
  50. {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
  51. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_15_nested_aggregate_functions.py +0 -0
  52. {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
  53. {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
  54. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_19_using_where_twice.py +0 -0
  55. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_20_missing_from.py +0 -0
  56. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_21_comparison_with_null.py +0 -0
  57. {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
  58. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_24_duplicate_clause.py +0 -0
  59. {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
  60. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_30_keywords_order.py +0 -0
  61. {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
  62. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/1_syn/test_37_nonstandard_operators.py +0 -0
  63. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/2_sem/test_40_tautological_inconsistent_expressions.py +0 -0
  64. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/2_sem/test_41_distinct_sum_avg.py +0 -0
  65. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/2_sem/test_43_wildcards_without_like.py +0 -0
  66. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/2_sem/test_44_incorrect_wildcards.py +0 -0
  67. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/detectors/4_com/test_88_like_no_wildcards.py +0 -0
  68. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/conftest.py +0 -0
  69. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/test_extractors.py +0 -0
  70. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/test_query.py +0 -0
  71. {sql_error_categorizer-0.1.1 → sql_error_categorizer-0.1.2}/tests/query/test_typechecking.py +0 -0
  72. {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.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://sql_error_categorizer.readthedocs.io/en/latest/index.html
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.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://sql_error_categorizer.readthedocs.io/en/latest/index.html"
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
  '''