title: How can i connect to presto pyhive?
body: <p>I want to connect presto using <strong>pyhive</strong> in zeppelin</p>
  <p>now, I follows about <a href="https://github.com/dropbox/PyHive" rel="nofollow noreferrer">https://github.com/dropbox/PyHive</a></p>
  <p>I use the connect function and correct parameters.</p>
  <pre><code>%python
  from pyhive import presto
  cursor =  presto.connect(host='localhost',
                  port=10000,
                  username='id:password').cursor()
  cursor.execute('SELECT * FROM table LIMIT 10')
  </code></pre>
  <p>but it does not work.</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/tmp/zeppelin_python-557261260901431465.py&quot;, line 278, in &lt;module&gt;
      raise Exception(traceback.format_exc())
  Exception: Traceback (most recent call last):
    File &quot;/tmp/zeppelin_python-557261260901431465.py&quot;, line 266, in &lt;module&gt;
      exec(code)
    File &quot;&lt;stdin&gt;&quot;, line 5, in &lt;module&gt;
    File &quot;/usr/lib/python2.7/dist-packages/pyhive/presto.py&quot;, line 206, in execute
      self._process_response(response)
    File &quot;/usr/lib/python2.7/dist-packages/pyhive/presto.py&quot;, line 263, in _process_response
      response_json = response.json()
    File &quot;/usr/lib/python2.7/dist-packages/requests/models.py&quot;, line 650, in json
      return json.loads(self.content.decode(encoding), **kwargs)
    File &quot;/usr/lib64/python2.7/encodings/utf_32_le.py&quot;, line 11, in decode
      return codecs.utf_32_le_decode(input, errors, True)
  UnicodeDecodeError: 'utf32' codec can't decode bytes in position 4-7: code point not in range(0x110000)
  </code></pre>
  <p>how can I fix it?</p>