Open pals966 opened 6 years ago
I think this means you are getting some error page as HTML; it should be reported cleaner after #121.
I would suggest either upgrading to a pydruid that has #121 (sorry I am not sure which one that would be!) or checking your Druid server logs for more details (they usually log errors like this).
Would be nice to fix the issue at the source eventually, I feel like we shouldn't have heterogenous endpoints, all errors should be json-parseable.
I have the same issue, but this is probably due to kerberos. Is kerberos supported in pydruid?
I had the same error
Expecting value: line 1 column 1 (char 0)_
and I fixed it by enabling SQL in Druid: http://druid.io/docs/latest/querying/sql.html
To enable Druid SQL, make sure you have set druid.sql.enable = true either in your common.runtime.properties or your broker's runtime.properties.
I am trying to read druid data base using python 3.5 and DB API of pydruid; however whenever I run the execute statement I get the error:
Code I am running: from pydruid.db import connect conn = connect(host='XXXXXXX', port=8082, path='/druid/v2', scheme='http') curs = conn.cursor() curs.execute("""SELECT * FROM wikipedia LIMIT 10""")
Error: _--------------------------------------------------------------------------- JSONDecodeError Traceback (most recent call last)