hy144328 commented on code in PR #41917:
URL: https://github.com/apache/superset/pull/41917#discussion_r3563999873


##########
superset/db_engine_specs/doris.py:
##########
@@ -326,8 +327,9 @@ def get_catalog_names(
         CatalogId, CatalogName, Type, IsCurrent, CreateTime, LastUpdateTime, 
Comment
         We need to extract just the CatalogName column.
         """
-        result = inspector.bind.execute(text("SHOW CATALOGS"))
-        return {row.CatalogName for row in result}
+        with inspector.engine.connect() as conn:
+            result = conn.execute(text("SHOW CATALOGS"))

Review Comment:
   Not a regression.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to