superset/tests/unit_tests
Sujith Kumar S b8aef10098
fix(mssql): support cte in virtual tables (#18567)
* Fix for handling regular CTE queries with MSSQL,#8074

* Moved the get_cte_query function from mssql.py to base.py for using irrespetcive of dbengine

* Fix for handling regular CTE queries with MSSQL,#8074

* Moved the get_cte_query function from mssql.py to base.py for using irrespetcive of dbengine

* Unit test added for the db engine CTE SQL parsing.

Unit test added for the db engine CTE SQL parsing.  Removed additional spaces from the CTE parsing SQL generation.

* implement in sqla model

* lint + cleanup

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-02-10 10:28:05 +02:00
..
annotation_layers chore: Test cases for annotations and annotation layers incorrect creation through API (#17246) 2021-11-03 09:11:41 +00:00
charts refactor: Moves the Explore form_data endpoint (#18151) 2022-01-25 11:14:50 -03:00
common refactor(QueryObject): decouple from superset (#17479) 2021-11-18 19:53:56 +02:00
dashboards fix: user UUIDs on export for Native Filter Configuration (#18562) 2022-02-08 13:10:40 -08:00
datasets fix: extra column in metrics (#17784) 2021-12-22 10:39:29 -08:00
db_engine_specs fix(mssql): support cte in virtual tables (#18567) 2022-02-10 10:28:05 +02:00
explore refactor: Moves the Explore form_data endpoint (#18151) 2022-01-25 11:14:50 -03:00
fixtures fix(sqla): make text clause escaping optional (#17641) 2021-12-03 12:35:26 +02:00
tasks fix: add fallback and validation for report and cron timezones (#17338) 2021-11-12 12:28:17 -08:00
utils fix: remove standalone (#18157) 2022-01-26 13:04:26 -05:00
__init__.py refactor(tests): decouple unittests from integration tests (#15473) 2021-07-01 18:03:07 +03:00
conftest.py fix: column extra in import/export (#17738) 2021-12-14 18:33:52 -08:00
core_tests.py fix(csv-export): pivot v2 with verbose names (#18633) 2022-02-09 14:01:57 +02:00
dataframe_test.py feat: convert dataframe tests (#17655) 2021-12-09 09:47:53 -08:00
feature_flag_test.py chore: convert feature flag tests to unit tests (#17689) 2021-12-08 14:51:47 -08:00
memoized_tests.py chore(python-testing): move memoized tests to unit tests (#15507) 2021-07-12 10:00:18 +03:00
sql_parse_tests.py fix: revert #17654 to fix subselect table name parsing (#18017) 2022-01-12 21:28:23 -08:00