superset/tests/unit_tests
Lily Kuang 50902d51f5
fix: allow subquery in ad-hoc SQL (WIP) (#19242)
* allow adhoc subquery

* add config for allow ad hoc subquery

* default to true allow adhoc subquery

* fix test

* Update superset/errors.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/connectors/sqla/utils.py

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* rename and add doc string

* fix for big query test

* Update superset/connectors/sqla/utils.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Apply suggestions from code review

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* add test

* update validate adhoc subquery

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-03-18 10:04:55 -07: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 chore: Remove legacy SIP-15 interim logic/flags (#18936) 2022-03-04 09:15:36 +13:00
columns feat: new dataset/table/column models (#17543) 2022-02-24 11:02:01 -08:00
commands feat: import/export assets commands (#19217) 2022-03-17 10:51:17 -07:00
common chore: Remove legacy SIP-15 interim logic/flags (#18936) 2022-03-04 09:15:36 +13:00
dashboards fix(dashboard): import handle missing excluded charts (#19088) 2022-03-10 12:59:29 +02:00
datasets feat: new dataset/table/column models (#17543) 2022-02-24 11:02:01 -08:00
db_engine_specs chore(tests-backend): migrate snowflake and sqlite to unit tests (#18854) 2022-02-23 11:11:10 -06:00
explore feat: add permalink to dashboard and explore (#19078) 2022-03-17 01:15:52 +02:00
fixtures feat(ui): Adding manifest prefix config (#19141) 2022-03-17 08:58:48 -07:00
key_value feat: add permalink to dashboard and explore (#19078) 2022-03-17 01:15:52 +02:00
pandas_postprocessing fix: contribution operator meets nan value (#18782) 2022-02-18 23:28:28 +08:00
tables feat: new dataset/table/column models (#17543) 2022-02-24 11:02:01 -08:00
tasks fix: add fallback and validation for report and cron timezones (#17338) 2021-11-12 12:28:17 -08:00
utils refactor: move date_parser to unittest (#18810) 2022-02-18 20:15:31 +08: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(ui): Adding manifest prefix config (#19141) 2022-03-17 08:58:48 -07:00
extension_tests.py feat(ui): Adding manifest prefix config (#19141) 2022-03-17 08:58:48 -07: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: allow subquery in ad-hoc SQL (WIP) (#19242) 2022-03-18 10:04:55 -07:00