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


##########
tests/integration_tests/sqllab_tests.py:
##########
@@ -184,18 +185,18 @@ def test_sql_json_cta_dynamic_db(self, ctas_method: 
CTASMethod) -> None:
             examples_db = get_example_database()
             with examples_db.get_sqla_engine() as engine:
                 data = engine.execute(
-                    f"SELECT * FROM admin_database.{tmp_table_name}"  # noqa: 
S608
+                    text(f"SELECT * FROM admin_database.{tmp_table_name}")  # 
noqa: S608
                 ).fetchall()

Review Comment:
   This warning will be handled in another PR.



-- 
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