mirror of
https://github.com/apache/superset.git
synced 2026-04-14 05:34:38 +00:00
chore: Default to engine specification regarding using wildcard (#27843)
This commit is contained in:
@@ -1480,7 +1480,7 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
"indexes": [],
|
||||
"name": "wrong_table",
|
||||
"primaryKey": {"constrained_columns": None, "name": None},
|
||||
"selectStar": "SELECT\nFROM wrong_table\nLIMIT 100\nOFFSET 0",
|
||||
"selectStar": "SELECT\n *\nFROM wrong_table\nLIMIT 100\nOFFSET 0",
|
||||
},
|
||||
)
|
||||
elif example_db.backend == "mysql":
|
||||
@@ -1550,8 +1550,6 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
uri = f"api/v1/database/{example_db.id}/select_star/birth_names/"
|
||||
rv = self.client.get(uri)
|
||||
self.assertEqual(rv.status_code, 200)
|
||||
response = json.loads(rv.data.decode("utf-8"))
|
||||
self.assertIn("gender", response["result"])
|
||||
|
||||
def test_get_select_star_not_allowed(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user