diff --git a/superset/sql_parse.py b/superset/sql_parse.py index 22d4c61df42a..4d2a8daf804c 100644 --- a/superset/sql_parse.py +++ b/superset/sql_parse.py @@ -216,7 +216,12 @@ def as_create_table( def _extract_from_token(self, token: Token): # pylint: disable=too-many-branches """ - Populate self._tables from token + store a list of subtokens and store lists of + subtoken list. + + It extracts and from :param token: and loops through + all subtokens recursively. It finds table_name_preceding_token and passes + and to self._process_tokenlist to populate self._tables. :param token: instance of Token or child class, e.g. TokenList, to be processed """