Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sql backend + sqlfluff linter #20854

Merged
merged 37 commits into from
May 10, 2024
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
80b5fde
Copy as is
grihabor Apr 28, 2024
03c7a2f
Fix imports
grihabor Apr 28, 2024
78d9279
Move register.py
grihabor Apr 28, 2024
ecd06f6
Add tests
grihabor Apr 28, 2024
0760d6e
Fix test_passing and test_failing
grihabor Apr 28, 2024
7b11223
Fix all tests
grihabor Apr 28, 2024
685d11c
Revert changes
grihabor Apr 29, 2024
459506e
Add python tool
grihabor Apr 29, 2024
12ffab5
pants fix src/python/pants/backend/sql::
grihabor Apr 29, 2024
39fd8d1
Move SqlSourceField docstring to help
grihabor Apr 29, 2024
fdd5aee
Remove expected_file_extensions
grihabor Apr 29, 2024
391335a
Remove debug comment
grihabor Apr 29, 2024
57b3b52
pants fix src/python/pants/backend/experimental/sql/::
grihabor Apr 29, 2024
b103645
Add missing __init__.py
grihabor Apr 29, 2024
424f36d
Fix mypy
grihabor Apr 29, 2024
9a95b62
Remove .sql ext
grihabor Apr 29, 2024
2781fff
Make __init__.py empty
grihabor Apr 29, 2024
9e15a43
Skip tests on python 3.7
grihabor Apr 29, 2024
9cb2742
Merge branch 'main' into add-sql-backend
grihabor Apr 30, 2024
5545bc8
Try >=3.9
grihabor Apr 30, 2024
27262f8
Revert "Skip tests on python 3.7"
grihabor Apr 30, 2024
5043c4d
Use dedicated enable_lint_rules flag instead of a hack
grihabor Apr 30, 2024
2c81f09
Revert "Try >=3.9"
grihabor Apr 30, 2024
4c5c961
Try interpreter_constraints on test target
grihabor Apr 30, 2024
73ce94a
CPython==3.9.*
grihabor Apr 30, 2024
19c43fe
Try sqlfluff>=2,<3
grihabor Apr 30, 2024
99b31a6
Fix tests after downgrade
grihabor May 4, 2024
a00fc9e
Merge branch 'main' into add-sql-backend
grihabor May 4, 2024
1b7a732
Add sql docs
grihabor May 6, 2024
d8fa6f6
Update sqlfluff docs
grihabor May 6, 2024
1253956
Better phrasing
grihabor May 6, 2024
8cdd94c
Merge branch 'main' into add-sql-backend
grihabor May 6, 2024
bf4eb4e
Merge branch 'main' into add-sql-backend
grihabor May 8, 2024
bb28732
Add sql backend notes
grihabor May 8, 2024
719bea3
Update section name
grihabor May 8, 2024
fb82f93
Update links
grihabor May 10, 2024
7f4a3bf
Merge branch 'main' into add-sql-backend
grihabor May 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/notes/2.22.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Keep reading to see the details and what's also included.

### Backends

#### SQL

A new experimental `SQL` backend was added along with the [sqlfluff
linter](https://www.pantsbuild.org/2.20/reference/subsystems/sqlfluff). See
docs [here](https://www.pantsbuild.org/2.20/docs/sql).
kaos marked this conversation as resolved.
Show resolved Hide resolved

#### JVM

##### Scala
Expand Down
Loading