rorovic opened a new issue #4248: 'PyDruid' object has no attribute 'scan'
URL: https://github.com/apache/incubator-superset/issues/4248
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if any
   - [ ] I have reproduced the issue with at least the latest released version 
of superset
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar
   
   When i use Histogram with Druid datasource , i encounter this exception:
   'PyDruid' object has no attribute 'scan'
   
   ### Superset version
   0.22.1
   
   ### Expected results
   46 2018-01-19 17:17:27,633:ERROR:root:'PyDruid' object has no attribute 
'scan'
   47 Traceback (most recent call last):
   48 File "/home/dujinyuan02/superset/superset/viz.py", line 267, in 
get_payload
   49 df = self.get_df()
   50 File "/home/dujinyuan02/superset/superset/viz.py", line 102, in get_df
   51 self.results = self.datasource.query(query_obj)
   52 File "/home/dujinyuan02/superset/superset/connectors/druid/models.py", 
line 1212, in query
   53 client=client, query_obj=query_obj, phase=2)
   54 File "/home/dujinyuan02/superset/superset/connectors/druid/models.py", 
line 943, in get_query_str
   55 return self.run_query(client=client, phase=phase, **query_obj)
   56 File "/home/dujinyuan02/superset/superset/connectors/druid/models.py", 
line 1092, in run_query
   57 client.scan(**qry)
   58 AttributeError: 'PyDruid' object has no attribute 'scan'
   
   ### Actual results
   
![image](https://user-images.githubusercontent.com/12078430/35144456-8b16b9b0-fd3f-11e7-8fb1-ac7a69732036.png)
   
   
   ### Steps to reproduce
   
   
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to