sqlassert 0.3.3__py3-none-any.whl → 0.4.1__py3-none-any.whl

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 (65) hide show
  1. sqlassert/__init__.py +1 -2
  2. sqlassert/check.py +88 -13
  3. sqlassert/diagnostics.py +17 -6
  4. sqlassert/dialects.py +437 -7
  5. sqlassert/discovery/bigquery.py +3 -1
  6. sqlassert/discovery/databricks.py +25 -2
  7. sqlassert/discovery/duckdb.py +49 -7
  8. sqlassert/discovery/fetcher.py +130 -21
  9. sqlassert/discovery/information_schema.py +30 -2
  10. sqlassert/discovery/mysql.py +22 -1
  11. sqlassert/discovery/postgres.py +22 -5
  12. sqlassert/discovery/redshift.py +3 -2
  13. sqlassert/discovery/snowflake.py +3 -0
  14. sqlassert/discovery/trino.py +2 -2
  15. sqlassert/hazards.py +248 -87
  16. sqlassert/ir/__init__.py +4 -1
  17. sqlassert/ir/convert/__init__.py +13 -0
  18. sqlassert/ir/convert/aggregation.py +439 -0
  19. sqlassert/ir/convert/builtins.py +140 -0
  20. sqlassert/ir/convert/expressions.py +572 -0
  21. sqlassert/ir/convert/joins.py +264 -0
  22. sqlassert/ir/convert/markers.py +249 -0
  23. sqlassert/ir/convert/parser.py +253 -0
  24. sqlassert/ir/convert/queries.py +259 -0
  25. sqlassert/ir/convert/schema.py +606 -0
  26. sqlassert/ir/convert/scopes.py +205 -0
  27. sqlassert/ir/convert/selects.py +337 -0
  28. sqlassert/ir/convert/shared.py +429 -0
  29. sqlassert/ir/convert/sources.py +432 -0
  30. sqlassert/ir/convert/subqueries.py +364 -0
  31. sqlassert/ir/convert/value_types.py +223 -0
  32. sqlassert/ir/convert/windows.py +275 -0
  33. sqlassert/ir/model.py +125 -47
  34. sqlassert/ir/names.py +63 -0
  35. sqlassert/properties.py +12 -1
  36. sqlassert/provenance.py +5 -1
  37. sqlassert/python_engine.py +104 -44
  38. sqlassert/reporting.py +33 -32
  39. sqlassert/rewrites.py +111 -61
  40. sqlassert/rules/STYLEGUIDE.md +3 -2
  41. sqlassert/rules/causes/__init__.py +41 -0
  42. sqlassert/rules/causes/coverage.py +113 -0
  43. sqlassert/rules/causes/domain.py +123 -0
  44. sqlassert/rules/causes/joins.py +73 -0
  45. sqlassert/rules/causes/nulls.py +154 -0
  46. sqlassert/rules/causes/unique.py +523 -0
  47. sqlassert/rules/domain.py +8 -7
  48. sqlassert/rules/equality.py +6 -147
  49. sqlassert/rules/exactly_one.py +2 -1
  50. sqlassert/rules/foreign_key.py +8 -9
  51. sqlassert/rules/join_cardinality.py +282 -41
  52. sqlassert/rules/nullability.py +5 -5
  53. sqlassert/rules/uniqueness.py +171 -47
  54. sqlassert/rules/value_typing.py +337 -0
  55. sqlassert/sql_parse.py +28 -1
  56. sqlassert/suggest.py +11 -15
  57. sqlassert-0.4.1.dist-info/METADATA +235 -0
  58. sqlassert-0.4.1.dist-info/RECORD +69 -0
  59. sqlassert/ir/convert.py +0 -3509
  60. sqlassert-0.3.3.dist-info/METADATA +0 -807
  61. sqlassert-0.3.3.dist-info/RECORD +0 -46
  62. {sqlassert-0.3.3.dist-info → sqlassert-0.4.1.dist-info}/WHEEL +0 -0
  63. {sqlassert-0.3.3.dist-info → sqlassert-0.4.1.dist-info}/entry_points.txt +0 -0
  64. {sqlassert-0.3.3.dist-info → sqlassert-0.4.1.dist-info}/licenses/LICENSE +0 -0
  65. {sqlassert-0.3.3.dist-info → sqlassert-0.4.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,235 @@
1
+ Metadata-Version: 2.4
2
+ Name: sqlassert
3
+ Version: 0.4.1
4
+ Summary: Asserts and static proofs for your SQL, without touching your data.
5
+ Author: Fred Israel
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/polvoazul/sqlassert
8
+ Project-URL: Documentation, https://polvoazul.github.io/sqlassert/
9
+ Project-URL: Issues, https://github.com/polvoazul/sqlassert/issues
10
+ Keywords: sql,static-analysis,linter,dbt,data-quality,join,cardinality,sqlglot
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: SQL
16
+ Classifier: Topic :: Database
17
+ Classifier: Topic :: Software Development :: Quality Assurance
18
+ Requires-Python: >=3.13
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: case-conversion>=3.0.2
22
+ Requires-Dist: sqlglot<31,>=30.30
23
+ Provides-Extra: test
24
+ Requires-Dist: duckdb>=2.0; extra == "test"
25
+ Requires-Dist: hypothesis; extra == "test"
26
+ Requires-Dist: pytest; extra == "test"
27
+ Requires-Dist: pytest-xdist; extra == "test"
28
+ Provides-Extra: dev
29
+ Requires-Dist: ty>=0.0.104; extra == "dev"
30
+ Provides-Extra: docs
31
+ Requires-Dist: zensical>=0.1.4; extra == "docs"
32
+ Dynamic: license-file
33
+
34
+ # sqlassert
35
+
36
+ [![PyPI version](https://img.shields.io/pypi/v/sqlassert)](https://pypi.org/project/sqlassert/)
37
+ [![CI](https://github.com/polvoazul/sqlassert/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/polvoazul/sqlassert/actions/workflows/ci.yml)
38
+ [![MIT license](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
39
+ [![Python 3.13+](https://img.shields.io/badge/python-3.13%2B-blue)](https://pypi.org/project/sqlassert/)
40
+
41
+ **sqlassert adds asserts and static proofs to your SQL, without touching your data, to catch common mistakes before they ship.**
42
+
43
+ [![Open the interactive demo showing highlighted SQL and a Fan Trap finding](docs/assets/sqlassert-demo-preview.png)](https://polvoazul.github.io/sqlassert/demo.html)
44
+
45
+ [Open the interactive demo](https://polvoazul.github.io/sqlassert/demo.html)
46
+
47
+ Mark what a query must guarantee (this join never multiplies rows, this column is a key, this `CASE` covers every status) and sqlassert proves it from the SQL and schema alone. A proof holds for *any* data, not just the rows in the table today, and it runs in milliseconds in your test suite or CI, with no warehouse and no connection.
48
+
49
+ ```bash
50
+ pip install sqlassert
51
+ sqlassert suggest my_query.sql # what can already be proved, and what looks wrong
52
+ ```
53
+
54
+ Using dbt? [`sqlassert-dbt`](https://github.com/polvoazul/sqlassert/tree/main/integrations/dbt#readme) proves your `unique`, `not_null`, `accepted_values` and `relationships` tests from the compiled SQL and **skips the ones that can't fail**, so `dbt build` runs fewer warehouse queries.
55
+
56
+ _Alpha: the markers (`/**ASSERT ...**/`, `/**DECLARE ...**/`) are the stable contract; the Python API may change. Tested with DuckDB, PostgreSQL, MySQL, Snowflake, BigQuery, Databricks / Spark, Redshift and Trino SQL (see [Dialects](https://polvoazul.github.io/sqlassert/dialects/)); only DuckDB programs are checked by the soundness oracle, and only DuckDB and SQLite are high support: elsewhere some dialect facts are unprobed, so a proof can be wrong._
57
+
58
+ ## Pitfalls it catches
59
+
60
+ ### A join that silently multiplies rows
61
+
62
+ It works today because every user has one email row. Then someone adds a second one, and every downstream count doubles. Say what the join must do:
63
+
64
+ ```sql
65
+ create table users (id integer primary key, email varchar);
66
+ create table user_emails (user_id integer, email varchar);
67
+
68
+ select u.id, e.email
69
+ from users u
70
+ /**ASSERT MANY TO ONE**/ join user_emails e on e.user_id = u.id;
71
+ ```
72
+
73
+ ```console
74
+ $ sqlassert check join.sql
75
+ join.sql:6:1: error unproved-many-to-one-join: /**ASSERT MANY TO ONE**/ is not proved (UNKNOWN)
76
+ ```
77
+
78
+ Nothing makes `user_emails.user_id` unique, so the join may fan out, and `--explain` says exactly that: "No known unique set on this relation — user_emails AS e". Add the key (or a `GROUP BY`, `DISTINCT`, or `QUALIFY row_number() = 1`) and it is `PROVED`. From then on, a change that breaks it fails CI rather than corrupting a dashboard.
79
+
80
+ ### Fan traps: sums counted twice
81
+
82
+ Two one-to-many joins from the same row, then a `sum`: each order is counted once per payment.
83
+
84
+ ```sql
85
+ select c.id, sum(o.amount) as ordered, sum(p.amount) as paid
86
+ from customers c
87
+ join orders o on o.customer_id = c.id
88
+ join payments p on p.customer_id = c.id
89
+ group by c.id;
90
+ ```
91
+
92
+ ```console
93
+ $ sqlassert suggest revenue.sql
94
+ ...
95
+ low line 9 Root Select Fan trap SUM(o.amount) reads rows that JOIN payments AS p may repeat: the join is not proved to repeat rows of only one input (fan trap), so a value may be counted more than once
96
+ low line 9 Root Select Fan trap SUM(p.amount) reads rows that JOIN payments AS p may repeat: ...
97
+ ```
98
+
99
+ Chasm traps (`sum(c.credit)` over `customers JOIN orders`), scalar subqueries that can return two rows, and implicit casts in join keys are flagged the same way.
100
+
101
+ ### Joins that do nothing, and LIMITs that pick random rows
102
+
103
+ ```sql
104
+ select o.id, u.name
105
+ from orders o
106
+ left join users u on u.id = o.user_id -- user_id is NOT NULL REFERENCES users(id)
107
+ left join coupons c on c.id = o.coupon_id -- nothing from coupons is used
108
+ order by u.name
109
+ limit 10;
110
+ ```
111
+
112
+ ```console
113
+ $ sqlassert suggest orders.sql
114
+ rewrite line 7 LEFT JOIN users AS u INNER JOIN every left row matches exactly one right row, so the LEFT JOIN pads nothing: write JOIN
115
+ --- orders.sql
116
+ +++ orders.sql (rewritten)
117
+ @@ -5,5 +5,5 @@
118
+ select o.id, u.name
119
+ from orders o
120
+ -left join users u on u.id = o.user_id -- user_id is NOT NULL REFERENCES users(id)
121
+ +join users u on u.id = o.user_id -- user_id is NOT NULL REFERENCES users(id)
122
+ left join coupons c on c.id = o.coupon_id -- nothing from coupons is used
123
+ order by u.name
124
+ rewrite line 8 LEFT JOIN coupons AS c Redundant Join at most one match per row and no column of coupons AS c is used outside its ON: delete the join
125
+ --- orders.sql
126
+ +++ orders.sql (rewritten)
127
+ @@ -6,5 +6,5 @@
128
+ from orders o
129
+ left join users u on u.id = o.user_id -- user_id is NOT NULL REFERENCES users(id)
130
+ -left join coupons c on c.id = o.coupon_id -- nothing from coupons is used
131
+ +-- nothing from coupons is used
132
+ order by u.name
133
+ limit 10;
134
+ marker line 7 LEFT JOIN users AS u Exactly One Join /**ASSERT EXACTLY ONE**/
135
+ ...
136
+ hazard line 10 Root Select Arbitrary LIMIT the ORDER BY does not determine ('id'), so rows tied on it come in an arbitrary order and LIMIT may keep different rows on each run: order by a key as well
137
+ ```
138
+
139
+ Every rewrite is backed by a proof that it leaves the result unchanged, row for row, and comes with the exact diff that makes it; comments and markers in the text it replaces are kept. `--annotate` pastes the suggested markers into the file.
140
+
141
+ ### A CASE that forgets the new status
142
+
143
+ ```sql
144
+ with o as (
145
+ select * from orders
146
+ /**DECLARE ENUM(status IN ('new', 'paid', 'void', 'refunded'))**/
147
+ )
148
+ select id,
149
+ /**ASSERT EXHAUSTIVE**/ case status when 'new' then 'open' when 'paid' then 'closed' when 'void' then 'closed' end as state
150
+ from o;
151
+ ```
152
+
153
+ ```console
154
+ $ sqlassert check orders.sql --explain
155
+ orders.sql:7:3: error unproved-exhaustive: /**ASSERT EXHAUSTIVE**/ is not proved (UNKNOWN)
156
+ #1 UNKNOWN: exhaustive_case — CASE status WHEN 'new' THEN 'open' ...
157
+ #2 UNKNOWN: status may be 'refunded', which no WHEN arm lists
158
+ ```
159
+
160
+ Without the marker, `refunded` orders would quietly get a NULL `state`.
161
+
162
+ ### dbt tests that scan the warehouse for nothing
163
+
164
+ ```console
165
+ $ sqlassert-dbt build . -- --target prod
166
+ Proved statically (a test here can be skipped):
167
+ models/schema.yml unique_stg_customers_customer_id (test on stg_customers)
168
+ ...
169
+ ```
170
+
171
+ Proved tests are passed to `dbt build` as `--exclude`, so they never run. See [sqlassert-dbt](https://github.com/polvoazul/sqlassert/tree/main/integrations/dbt#readme).
172
+
173
+ ## What it proves
174
+
175
+ | Assertion | Marker | Guards against | `DECLARE` form |
176
+ |---|---|---|---|
177
+ | [Join cardinality](https://polvoazul.github.io/sqlassert/markers/#join-cardinality) | `UNIQUE`, `MANY TO ONE`, `ONE TO MANY`, `ONE TO ONE` before a join | row multiplication | – |
178
+ | [Exactly One Join](https://polvoazul.github.io/sqlassert/markers/#exactly-one-join) | `EXACTLY ONE` before a join | rows multiplied *or dropped*; a LEFT JOIN that pads | – |
179
+ | [Unique Set](https://polvoazul.github.io/sqlassert/markers/#unique-set-and-non-null-unique-set) | `UNIQUE(cols)`, `NOT NULL UNIQUE(cols)`, `PRIMARY KEY(cols)` | duplicate keys, wrong grain | yes |
180
+ | [Not Null](https://polvoazul.github.io/sqlassert/markers/#not-null) | `NOT NULL(cols)` | NULLs from outer joins and nullable sources | yes |
181
+ | [Not Null Elements](https://polvoazul.github.io/sqlassert/markers/#not-null-elements) | `NOT NULL ELEMENTS(cols)` | NULLs inside arrays, rows and maps | yes |
182
+ | [Foreign Key](https://polvoazul.github.io/sqlassert/markers/#foreign-key) | `FOREIGN KEY(cols) REFERENCES rel(cols)` | orphaned rows | yes |
183
+ | [Functional Dependency](https://polvoazul.github.io/sqlassert/markers/#functional-dependency) | `DETERMINES(a -> b)` | a value that should follow from a key but doesn't | yes |
184
+ | [Enum](https://polvoazul.github.io/sqlassert/markers/#enum) | `ENUM(col IN (...))` | unexpected values | yes |
185
+ | [Exhaustive CASE](https://polvoazul.github.io/sqlassert/markers/#exhaustive-case) | `EXHAUSTIVE` before a `CASE` | a value no `WHEN` arm handles | – |
186
+
187
+ Every marker is a SQL comment (`/**ASSERT ...**/`), so annotated SQL still runs unchanged on your database.
188
+
189
+ | Tool | What it does |
190
+ |---|---|
191
+ | [`analyze(sql)`](https://polvoazul.github.io/sqlassert/python/) | Python API: prove a SQL Program's markers from its `CREATE` statements, in your test suite. |
192
+ | [`analyze_database`](https://polvoazul.github.io/sqlassert/python/) | The same, with tables, keys and views read from a live catalog (metadata only, never rows). |
193
+ | [`sqlassert check`](https://polvoazul.github.io/sqlassert/cli/#sqlassert-check) | CLI for CI: text, JSON, SARIF and GitHub annotation output, `pyproject.toml` config. |
194
+ | [`sqlassert suggest`](https://polvoazul.github.io/sqlassert/cli/#sqlassert-suggest) | Lists provable markers, proved rewrites, and hazards (fan traps, chasm traps, arbitrary LIMIT, ...). |
195
+ | [`sqlassert-dbt`](https://github.com/polvoazul/sqlassert/tree/main/integrations/dbt#readme) | Checks a dbt project from its manifest and skips the tests the SQL proves. |
196
+
197
+ | Dialect | Key constraints | Catalog fetcher | Support |
198
+ |---|---|---|---|
199
+ | DuckDB | enforced | yes | high, plus the soundness oracle |
200
+ | PostgreSQL | enforced | yes | low |
201
+ | MySQL 8.4+ (strict `sql_mode`) | enforced | yes | low |
202
+ | Snowflake | unenforced, `RELY` | yes | low |
203
+ | BigQuery | unenforced | yes | low |
204
+ | Databricks / Spark | unenforced, `RELY` | yes | low |
205
+ | Redshift | unenforced | yes | low |
206
+ | Trino | none | yes (NOT NULL only) | low |
207
+
208
+ A low-support dialect has dialect facts written from memory and not yet
209
+ probed on the engine, so its analysis can contain mistakes: a PROVED
210
+ assertion there can be wrong. A dialect with no such fact is high support
211
+ (DuckDB, SQLite); see [Support levels](https://github.com/polvoazul/sqlassert/blob/main/docs/dialects.md#support-levels).
212
+
213
+ Unenforced keys are trusted as declarations by default; `trust_unenforced_keys=False` keeps only those marked `RELY` (see [Dialects](https://polvoazul.github.io/sqlassert/dialects/)).
214
+
215
+ ## Documentation
216
+
217
+ The full reference is at **[polvoazul.github.io/sqlassert](https://polvoazul.github.io/sqlassert/)**:
218
+
219
+ - [Quickstart](https://polvoazul.github.io/sqlassert/quickstart/): install, a first marker, `check` and `suggest`.
220
+ - [Markers](https://polvoazul.github.io/sqlassert/markers/): every `ASSERT` and `DECLARE`, what proves it, and what it guards against.
221
+ - [CLI](https://polvoazul.github.io/sqlassert/cli/): `check` for CI (exit codes, output formats, configuration), `suggest`, rewrites and hazards.
222
+ - [Python API](https://polvoazul.github.io/sqlassert/python/): `analyze`, `analyze_database` and catalog fetchers.
223
+ - [For dbt users](https://polvoazul.github.io/sqlassert/dbt/): `sqlassert-dbt check`, `build` and `suggest`.
224
+ - [Dialects](https://polvoazul.github.io/sqlassert/dialects/): what each engine is assumed to do.
225
+ - [Diagnostic codes](https://polvoazul.github.io/sqlassert/codes/): what each code means and how to fix it.
226
+ - [How proofs work](https://polvoazul.github.io/sqlassert/proofs/): proofs, not data checks.
227
+
228
+ ## Roadmap
229
+
230
+ Open work is tracked as one file per issue in [`docs/issues/`](https://github.com/polvoazul/sqlassert/blob/main/docs/issues/list.md).
231
+
232
+ ## Citation
233
+
234
+ If you use sqlassert in published research, please cite the version you used.
235
+ See [CITATION.cff](CITATION.cff) for citation details.
@@ -0,0 +1,69 @@
1
+ sqlassert_cli.py,sha256=7VCs-E3JvpEo-fvC-wFZleIwMOtQik5WE4NuAuOlw_c,6624
2
+ sqlassert/__init__.py,sha256=PuJqhb8JwVHtC9csb8MeSOr4w0GLHqwUoH3yTsag0xY,1063
3
+ sqlassert/__main__.py,sha256=Nff1ukQ2Rc6dievyqikylZyQ6lMze7CDjkOwmTaW3H0,157
4
+ sqlassert/check.py,sha256=m3-ZLomU0TzhsM3dcVj0tyGhoD3EbMnyUqZFv_l3fnQ,21287
5
+ sqlassert/diagnostics.py,sha256=b1g1dDopVYhUzCYaRCGKrs7z_VXiEcn6r1e_YixTyCg,3513
6
+ sqlassert/dialects.py,sha256=dQi-5P03tuV9yoY110MVTdj7URpaElnuLJrE9mGr4_o,41865
7
+ sqlassert/edits.py,sha256=gBfECLK6WrwlVXIHIOwH2flxkzLO1JquUXAQPzI5XEE,10568
8
+ sqlassert/hazards.py,sha256=2yK46fyQrP0-2Wy9rpLgIfBAwdKnL-zSPNEmzNwOXjw,39787
9
+ sqlassert/main.py,sha256=5rJGF0LU-E8z-HTkdrMVd7joQgZ0AkwnDgqHy4OdGl0,2312
10
+ sqlassert/properties.py,sha256=qKPxLsbzMmGmawkzCW66pmZq4Tr85MH7fbNlrfAwNjo,3870
11
+ sqlassert/provenance.py,sha256=7dpi6RKNMNe8Za0E833_ieSqb9YsIW4db8TLb03hhv8,2407
12
+ sqlassert/python_engine.py,sha256=6eXeRawMjuL2AJhPi9p78196eYVdoCF_7Dn4VeOsNTc,18240
13
+ sqlassert/reporting.py,sha256=VSFRbSSIkwPDjuF_JDF9-YcNyRJnPDJuklSU1Hi24mM,3729
14
+ sqlassert/rewrites.py,sha256=VyPswgOb4LRyX5GnOMjstuu4S6Wtzl2Ihppc002V0pI,84267
15
+ sqlassert/sql_parse.py,sha256=1g7LTw06vwE2r5ri2eeKfgF7nOMakuNBkJnD1CdlA4k,54336
16
+ sqlassert/suggest.py,sha256=CsooZHZYf2f9k97XKKjhVR5RoD4xGATOvniZzt11Tmo,19629
17
+ sqlassert/discovery/__init__.py,sha256=pa9tv0G_YRJEFYO-aPPOQtvhc3YVg4_WZ1bYQqraoBU,854
18
+ sqlassert/discovery/bigquery.py,sha256=9wCgYIH6gxK3mDCHHGGH01K_AI-v3ymztvwiqTT7kW4,3506
19
+ sqlassert/discovery/databricks.py,sha256=_cr92bltqPucBt5hS1pyKaPVrpLKWnW8C-FzaCcj-YE,1909
20
+ sqlassert/discovery/duckdb.py,sha256=Lm1J1HJOHTfJd97xxPAEtfd-k2-ie2uWyeGmS7Ex43g,10010
21
+ sqlassert/discovery/fetcher.py,sha256=hwAudOzIKPIJczcLzViDP-dIa7yrgY5ZH-jNYq7xSwo,27116
22
+ sqlassert/discovery/information_schema.py,sha256=mGfI-hG5nukZIF-K_EGyNe0CDXXnbcdGu8K1X8CeVdA,18256
23
+ sqlassert/discovery/mysql.py,sha256=HXE6iYKImW3MpLB8E-GyrgpL4KmHLcgirs28DTEFIQY,4603
24
+ sqlassert/discovery/postgres.py,sha256=Z5RSthGPvjDabcfQI2Dv7DMXzE3qElhS2Wj_e-zp4Nk,7565
25
+ sqlassert/discovery/redshift.py,sha256=t680RPqGyKQuqwkI31tSjwhwbQapHEeY338HcNVCfjE,1719
26
+ sqlassert/discovery/snowflake.py,sha256=i0loStuhid2LNC4BPHThoobkLpizLwTXq_-9wsGC_tk,3300
27
+ sqlassert/discovery/trino.py,sha256=P-LZKrEhPusBloXX1GQMH5oDwb5j7WC3x6PrAqmkYa8,1684
28
+ sqlassert/ir/__init__.py,sha256=V0PEp1li8lpY3o9kODnDo4rmaIBHX55EeKgXGZv4HSg,1718
29
+ sqlassert/ir/model.py,sha256=Fixk1I1y1cLTHnYONjZ6RfYrzlGYHuuxsX83ISHk84A,34874
30
+ sqlassert/ir/names.py,sha256=84KRJM5ZxJKQwWoCKiconnGUfmfHnIqXXjkcjWuGQ0M,2838
31
+ sqlassert/ir/convert/__init__.py,sha256=whb5kc_db5EUm3Q3zj0NvMURT-Uz3FKqwqZ57gfNhV4,547
32
+ sqlassert/ir/convert/aggregation.py,sha256=wKFo_a5aIPKU5RnI-hdJvokhmNnkwCRrMGdDMCFmTTg,23922
33
+ sqlassert/ir/convert/builtins.py,sha256=ZuZbCM_pv2aMj73dbm3hUkFeE_9ldfzvPxs4A0Ff18M,7558
34
+ sqlassert/ir/convert/expressions.py,sha256=HlhU20al0zqLVx7N-LgPwKiO05A_qIu5U4j22zbpZJ8,34787
35
+ sqlassert/ir/convert/joins.py,sha256=52VLi1gUpHyRKvh18iUAD8LX7wCNIi-2S0p5WChJxiM,14580
36
+ sqlassert/ir/convert/markers.py,sha256=M4gM8UDqFlJ4m9yCYtLJQAKZI1w3RFzSLDtm8LeJa64,12868
37
+ sqlassert/ir/convert/parser.py,sha256=75x5DIJ0nS3K_KPOosv0SIM83AL6RhsF3nWnDRC1og0,15869
38
+ sqlassert/ir/convert/queries.py,sha256=tW_s8HLaGD6b7zDHYrD6ga_SEym1wNLoW8eP_Ts_coQ,14412
39
+ sqlassert/ir/convert/schema.py,sha256=f1-TLfPNxij3ZC6Esi7CPHY_oJsnx74BALOuyISNnfo,33263
40
+ sqlassert/ir/convert/scopes.py,sha256=x_bJIVz3fdxEMlEyopcTupb_s6Op7IhNO1aonjT3Kdo,10352
41
+ sqlassert/ir/convert/selects.py,sha256=CzN8rXTjW0MqgYNS2--l5mRs1WvOwlEUo3OGsrIvaeA,19298
42
+ sqlassert/ir/convert/shared.py,sha256=zN4dn3fTe8bpEvrxk4tPkiJZx-yLp4DW9exLWIQbjR4,18051
43
+ sqlassert/ir/convert/sources.py,sha256=Cc3DxlGor-p0qWFGyMefxDXHQnfKEA38RkDt9qTz7MY,24104
44
+ sqlassert/ir/convert/subqueries.py,sha256=T6z-CC3AvGdb8YahUqB_2eeNNob0-CQokBjHEL9ieZ4,21028
45
+ sqlassert/ir/convert/value_types.py,sha256=MYnCRZxTaSzboJxw1U2VlpV1WFG4y91pshZl3ZEr6ZI,11514
46
+ sqlassert/ir/convert/windows.py,sha256=J85QRqna4FsTPYzzZvyzuz73gBaOTc5NdsfSaCWqkss,15521
47
+ sqlassert/rules/STYLEGUIDE.md,sha256=MnlekQsTEU9I48tJdGjLwiMxNcT-B0NnKPtBLToPV68,1484
48
+ sqlassert/rules/__init__.py,sha256=VwDKt2zRCexIWxHwrZRBpvW0T6Ziesg-S7edcrQRiAo,526
49
+ sqlassert/rules/column_set.py,sha256=CFUz1iVC88gsg2iRcqe7h6hOR8sLfrvk80C1S5JGmuM,772
50
+ sqlassert/rules/domain.py,sha256=sMQKGLL2WMC0Zgsz1oaMyg9Yiec457TlVnvRWekXLmA,24894
51
+ sqlassert/rules/equality.py,sha256=R0fkd7GgtKQsxIT8jmaL1bPlPRm9-TKjQcK2XzzS9jo,15791
52
+ sqlassert/rules/exactly_one.py,sha256=kDGdChqLeHCvfEFYw1eXmuetSu8VMFw72sZYNha24sk,5888
53
+ sqlassert/rules/foreign_key.py,sha256=H0YNl_JnYuARwePFDSggKU1jXVgSLd4qJ0FmS6TgmRc,17088
54
+ sqlassert/rules/join_cardinality.py,sha256=6E9rz4xq5PnxgofJYIqyzFaEmn0vFnwPXzOVzjNsc3w,18999
55
+ sqlassert/rules/nullability.py,sha256=xcFAzshm9w8vme4zEMwB60_aF0x4dp7hv6m_ZQEt7tE,32374
56
+ sqlassert/rules/uniqueness.py,sha256=2PpRS2WBNJbO54z9Ni9hE_FKRj62VrltWQj5yqhHYII,55340
57
+ sqlassert/rules/value_typing.py,sha256=gdWfND6K8UPrSl5wStdEDDhIFfcM12EsDYYvOsEF340,18840
58
+ sqlassert/rules/causes/__init__.py,sha256=FlhUaw5KJ1ItXytT1Srx3jDSfBM7_aBug_cY9pMDmNs,1992
59
+ sqlassert/rules/causes/coverage.py,sha256=VvVZMmDhXVt8P8j0zhvb2yxhHPpprjEE6Mk7_9eqMgM,6293
60
+ sqlassert/rules/causes/domain.py,sha256=GWs2mvyyAPZUrEyQzVDZr5KiUVcH_7OXKY8xsh6EEu8,7068
61
+ sqlassert/rules/causes/joins.py,sha256=AgWmRzVqycEbLe6aLu8eZ95m_bIRs0tIGXxhNGBsn5c,3696
62
+ sqlassert/rules/causes/nulls.py,sha256=lrL13R0rGirXrCuE8Igsny_8LQ2lfQUDNeAhZJBZe_E,8288
63
+ sqlassert/rules/causes/unique.py,sha256=9PnQssbKYG10L1aZFUsdksZYSvWUl7bCJEokr1EUf2w,28471
64
+ sqlassert-0.4.1.dist-info/licenses/LICENSE,sha256=KCR0_j-gr5ufUNxamIKNzeyyiI6g-S69oecRjZ07l_A,1068
65
+ sqlassert-0.4.1.dist-info/METADATA,sha256=Z5YJK7fGBn73pBtlEQilzxtluZceCXpn2X-LeUmrIlk,12949
66
+ sqlassert-0.4.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
67
+ sqlassert-0.4.1.dist-info/entry_points.txt,sha256=IsOK1YYQWT9mEMV_fK0HC4oCgUQcGkI66qe4ba2LESM,49
68
+ sqlassert-0.4.1.dist-info/top_level.txt,sha256=6ncb3DFuCf-65HNbRHF7l3x2sDg9jjxoXQpI_P_oR5g,24
69
+ sqlassert-0.4.1.dist-info/RECORD,,