xiaotiao commented on issue #22206:
URL: https://github.com/apache/superset/issues/22206#issuecomment-1527233913
it seems the json.dumps method error becase of wrong driver type when using
Apache Spark. I modified the code as below and the response is right when click
edit databse button
`
# method: models.core.Database.driver
def driver(self) -> str:
if isinstance(self.url_object.get_driver_name(),bytes):
return bytes(self.url_object.get_driver_name()).decode("utf-8")
return self.url_object.get_driver_name()
`
--
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]