baz-bakerhughes commented on code in PR #21645:
URL: https://github.com/apache/superset/pull/21645#discussion_r983770915
##########
superset/models/core.py:
##########
@@ -415,7 +415,11 @@ def get_df( # pylint: disable=too-many-locals
mutator: Optional[Callable[[pd.DataFrame], None]] = None,
) -> pd.DataFrame:
sqls = self.db_engine_spec.parse_sql(sql)
+
engine = self.get_sqla_engine(schema)
+ username = utils.get_username() or username
Review Comment:
@villebro Comment from original Pull Request
This variable doesn't appear to be defined in this scope?
--
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]