chore: bump sqlfluff to 4.1.0#698
Conversation
|
All contributors have signed the DCO ✍️ ✅ |
|
I have read the DCO document and I hereby sign the DCO. |
Greptile SummaryBumps sqlfluff from the 3.x line to
|
| Filename | Overview |
|---|---|
| packages/data-designer-engine/pyproject.toml | Bumps sqlfluff version constraint from >=3.2.0,<4 to >=4.1.0,<5 to address a CVE. |
| packages/data-designer-engine/tests/engine/validators/test_sql.py | Expands the single ANSI SQL valid-code test into a parametrized test covering 6 dialects; updates as to AS to comply with sqlfluff 4.x keyword-casing enforcement. |
| uv.lock | Lock file updated to resolve sqlfluff 4.2.1 (within the new >=4.1.0,<5 range); also drops the unusual pytest runtime dependency that sqlfluff 3.x carried. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[SQLValidator.run_validation] --> B{sqlfluff.lint}
B -->|No violations| C[is_valid = True
error_messages = '']
B -->|Violations found| D[is_valid = False
error_messages = violation list]
B -->|RuntimeError| E[is_valid = False
error_messages = 'Exception during SQL parsing']
C --> F[Return ValidationResult]
D --> F
E --> F
Reviews (4): Last reviewed commit: "Merge branch 'main' into sqlfluff-bump" | Re-trigger Greptile
Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
93ee765 to
a3e01c1
Compare
|
Issue #704 has been triaged. The linked issue check is being re-evaluated. |
📋 Summary
🧪 Testing
make testpasses✅ Checklist