mirror of
https://github.com/apache/superset.git
synced 2026-04-13 21:24:28 +00:00
fix: is_select (#25189)
This commit is contained in:
@@ -1616,3 +1616,10 @@ def test_extract_table_references(mocker: MockerFixture) -> None:
|
||||
Table(table="other_table", schema=None, catalog=None)
|
||||
}
|
||||
logger.warning.assert_not_called()
|
||||
|
||||
|
||||
def test_is_select() -> None:
|
||||
"""
|
||||
Test `is_select`.
|
||||
"""
|
||||
assert not ParsedQuery("SELECT 1; DROP DATABASE superset").is_select()
|
||||
|
||||
Reference in New Issue
Block a user