title: Python Hive Client pyhs2: How to return results from a select statement?
body: <p>Below is my code:</p>
  
  <pre><code> import pyhs2
  
   with pyhs2.connect(host='localhost',
                 port=10000,
                 authMechanism="PLAIN",
                 user='biuser',
                 password='biuser',
                 database='default') as conn:
      with conn.cursor() as cur:
  
          #Execute query
          cur.execute("select * from some_table")
          print "executed"
          #Fetch table results
          for i in cur.fetch():
              print i
  </code></pre>
  
  <p>This above code continues to run after printing "executed" with no end in sight! Is it supposed to take so much time? Other executions like getting the various database names and getting all table names don't take much time. How do you capture the results of a select statement here?</p>