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/01/16 01:04:03 UTC

[GitHub] betodealmeida commented on issue #6695: Allow empty results in Hive (from SET, eg)

betodealmeida commented on issue #6695: Allow empty results in Hive (from SET, eg)
URL: https://github.com/apache/incubator-superset/pull/6695#issuecomment-454611423
 
 
   Actually, while I agree it's unintuitive, that's the behavior prescribed in the [Python DB API](https://www.python.org/dev/peps/pep-0249/) (emphasis mine):
   
   > .fetchall()
   > Fetch all (remaining) rows of a query result, returning them as a sequence of sequences (e.g. a list of tuples). Note that the cursor's arraysize attribute can affect the performance of this operation.
   > 
   > **An Error (or subclass) exception is raised if the previous call to .execute\*() did not produce any result set or no call was issued yet.**
   
   I'll test if it works without the patch.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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