This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new 4a6adb2  Check class name string instead of checking the instance 
4a6adb2 is described below

commit 4a6adb2f27dfcae26b06f1fb28c333759923a8ee
Author: mxmzdlv <>
AuthorDate: Mon Feb 12 21:16:42 2018 -0800

    Check class name string instead of checking the instance (#4404)
    This fixes an issue with the newer Google's DBAPI library, which moved Row 
from to, causing 
 superset/ | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/superset/ b/superset/
index b961c03..f0e7c67 100644
--- a/superset/
+++ b/superset/
@@ -1200,8 +1200,7 @@ class BQEngineSpec(BaseEngineSpec):
     def fetch_data(cls, cursor, limit):
         data = super(BQEngineSpec, cls).fetch_data(cursor, limit)
-        from import Row  # pylint: 
-        if len(data) != 0 and isinstance(data[0], Row):
+        if len(data) != 0 and type(data[0]).__name__ == 'Row':
             data = [r.values() for r in data]
         return data

To stop receiving notification emails like this one, please contact

Reply via email to