feat(SIP-95): new endpoint for table metadata (#28122)

This commit is contained in:
Beto Dealmeida
2024-04-25 12:23:49 -04:00
committed by GitHub
parent 52f8734662
commit 6cf681df68
71 changed files with 1048 additions and 513 deletions

View File

@@ -2031,7 +2031,7 @@ class TestDatabaseApi(SupersetTestCase):
if database.backend == "postgresql":
response = json.loads(rv.data.decode("utf-8"))
schemas = [
s[0] for s in database.get_all_table_names_in_schema(schema_name)
s[0] for s in database.get_all_table_names_in_schema(None, schema_name)
]
self.assertEqual(response["count"], len(schemas))
for option in response["result"]: