iercan opened a new issue, #27416:
URL: https://github.com/apache/superset/issues/27416

   ### Bug description
   
   We recently upgraded Superset from version 2.1.1 to 3.1.1 and encountered 
errors with certain charts when attempting to access the drill-down detail 
window.
   
   ### How to reproduce the bug
   
   Error arises when attempting to open the drill-down detail popup window.
   
   ### Screenshots/recordings
   
   An example charts that gives error. It is a line chart that with some 
advance analytic options.  
   
![image](https://github.com/apache/superset/assets/3406152/523139b7-415d-4441-9122-90fb21aaf815)
   
   Error window
   
![image](https://github.com/apache/superset/assets/3406152/c0ca07bb-051a-4190-a024-c2f23f5d00e5)
   
   Superset log 
   ```
   Traceback (most recent call last):
     File "/app/superset/connectors/sqla/models.py", line 1795, in query
       df = self.database.get_df(sql, self.schema, mutator=assign_column_label)
     File "/app/superset/models/core.py", line 612, in get_df
       self.db_engine_spec.execute(cursor, sqls[-1])
     File "/app/superset/db_engine_specs/base.py", line 1596, in execute
       raise cls.get_dbapi_mapped_exception(ex) from ex
     File "/app/superset/db_engine_specs/base.py", line 1594, in execute
       cursor.execute(query)
     File "/usr/local/lib/python3.9/site-packages/pydruid/db/api.py", line 62, 
in g
       return f(self, *args, **kwargs)
     File "/usr/local/lib/python3.9/site-packages/pydruid/db/api.py", line 256, 
in execute
       first_row = next(results)
     File "/usr/local/lib/python3.9/site-packages/pydruid/db/api.py", line 362, 
in _stream_query
       msg = "{error} ({errorClass}): {errorMessage}".format(**payload)
   KeyError: 'errorClass'
   ```
   
   ### Superset version
   
   3.1.1
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   druid version: 27.0.0
   pydruid: 0.6.5
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to