{"action":"opened","issue":{"url":"https://api.github.com/repos/dropbox/PyHive/issues/166","repository_url":"https://api.github.com/repos/dropbox/PyHive","labels_url":"https://api.github.com/repos/dropbox/PyHive/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/PyHive/issues/166/comments","events_url":"https://api.github.com/repos/dropbox/PyHive/issues/166/events","html_url":"https://github.com/dropbox/PyHive/issues/166","id":265627977,"number":166,"title":"PyHive fetchmany get stuck for sometime","user":{"login":"changzong","id":8915477,"avatar_url":"https://avatars0.githubusercontent.com/u/8915477?v=4","gravatar_id":"","url":"https://api.github.com/users/changzong","html_url":"https://github.com/changzong","followers_url":"https://api.github.com/users/changzong/followers","following_url":"https://api.github.com/users/changzong/following{/other_user}","gists_url":"https://api.github.com/users/changzong/gists{/gist_id}","starred_url":"https://api.github.com/users/changzong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changzong/subscriptions","organizations_url":"https://api.github.com/users/changzong/orgs","repos_url":"https://api.github.com/users/changzong/repos","events_url":"https://api.github.com/users/changzong/events{/privacy}","received_events_url":"https://api.github.com/users/changzong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-16T02:13:54Z","updated_at":"2017-10-16T02:13:54Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nWe just encountered a very strange problem when using PyHive.\r\n\r\nWe use PyHive cursor to execute a Hive query and then fetch a fix number of rows from the result. This basic process is like:\r\n\r\n```\r\n...\r\ncursor.execute(sql)\r\nrows = cursor.fetchmany(num)\r\n...\r\n```\r\n\r\nHowever, for the same query, there is a probability to get stuck at cursor.fetchmany(num) method (sometimes passed, sometimes stuck). We changed the num for some numbers and it still get stuck sometimes. \r\n\r\nAnyone can share some experience about this problem?\r\n\r\nThanks\r\n\r\nChanning"}}
{"actor":{"display_login":"changzong"}}