You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/07/30 20:18:19 UTC

[GitHub] [incubator-superset] mistercrunch commented on a change in pull request #7937: can not list tables after test connect success and explore button is always disable in query result view

mistercrunch commented on a change in pull request #7937: can not list tables after test connect success and explore button is always disable in query result view
URL: https://github.com/apache/incubator-superset/pull/7937#discussion_r308923172
 
 

 ##########
 File path: superset/views/core.py
 ##########
 @@ -1727,7 +1727,8 @@ def testconn(self):
 
             with closing(engine.connect()) as conn:
                 conn.scalar(select([1]))
-                return json_success('"OK"')
+                return json_success(json.dumps(engine.table_names(), indent=4))
 
 Review comment:
   Yes that's what it did historically for no really good reason (returning table names). Returning a 200 "OK"seems right.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org