Files
sqlfluff/images/datacoves.png
Barry Hart edb79809d2 Port dbt-osmosis templater changes to SQLFluff (#3976)
* Port dbt-osmosis templater changes to SQLFluff

* Ran Black on the file

* Get some tests working

* Remove some likely obsolete tests

* Pass CLI vars to dbt-osmosis

* Add osmosis.py to SQLFluff

* Fix CI issues

* flake8

* Only run doctests for SQLFluff core, not sqlfluff-templater-dbt

* Skip sqlfluff-templater-dbt when running doctests

* Move osmosis.py to sqlfluff-templater-dbt package

* Misspelled package name

* Remove support for dbt < 1.0

* Removing bits of dbt < 1.0

* Add missing package

* Get more tests working

* Fix issues with ephemeral model compilation

* Remove osmosis.py; was moved to osmosis/__init__.py

* Add back functions that shouldn't have been removed

* Fix project_dir issue

* Fix some broken tests

* Try a different way of resetting between tests

* Try and get tests working

* Try to fix broken tests

* Remove unneeded compile() function; use compile_node().node

* PR review

* Add Apache license note

* Update plugins/sqlfluff-templater-dbt/sqlfluff_templater_dbt/templater.py

* Add back code for handling db connection errors, also if project_dir not set

* Add missing dependencies

* Fix broken test

* Remove the fake db connection error; causes other tests to fail somehow

* Add Sponsors section with Datacoves

* PR review

* Add back the test__templater_dbt_handle_database_connection_failure test

* Fixes, tweaks to the CI checks (dbt Windows tests were failing intermittently with dbt 1.0)

* Tweak Python versions: 3.9 -> 3.10

* Run Black

* Fix some issues with dbt 1.4.0b1

* Trigger build

* Run Black

* Black

* Create missing constraints file

* Tweak version

* Tweaks due to dbt test weirdness

Co-authored-by: Barry Hart <barry.hart@zoro.com>
Co-authored-by: Alan Cruickshank <alanmcruickshank@gmail.com>
2022-12-19 16:20:24 +00:00

40 KiB
1854x407px

/Dikootje/sqlfluff/raw/branch/main/images/datacoves.png