feat(sqllab): Add a configuration option to disable data preview (#19104)

(cherry picked from commit 02ef9ca4cd)
This commit is contained in:
cccs-Dustin
2022-03-17 09:22:57 -04:00
committed by Ville Brofeldt
parent 71338cab57
commit a1b9b2946d
18 changed files with 175 additions and 42 deletions

View File

@@ -179,12 +179,14 @@ class TestDatabaseApi(SupersetTestCase):
"changed_on_delta_humanized",
"created_by",
"database_name",
"disable_data_preview",
"explore_database_id",
"expose_in_sqllab",
"extra",
"force_ctas_schema",
"id",
]
self.assertGreater(response["count"], 0)
self.assertEqual(list(response["result"][0].keys()), expected_columns)