mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
@@ -217,7 +217,7 @@ class ParsedQuery:
|
||||
return self._limit
|
||||
|
||||
def is_select(self) -> bool:
|
||||
# make sure we strip comments; prevents a bug with coments in the CTE
|
||||
# make sure we strip comments; prevents a bug with comments in the CTE
|
||||
parsed = sqlparse.parse(self.strip_comments())
|
||||
if parsed[0].get_type() == "SELECT":
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user