codenamelxl opened a new issue #14301:
URL: https://github.com/apache/superset/issues/14301


   Endpoint **/superset/extra_table_metadata** will fail with 500  when using 
with **partitioned tables** for **Hive**.
   User will receive an error message like screenshot in SQL Lab.
   
   Callstack point to error:
   AttributeError: 'DataFrame' object has no attribute 'ix'
   
   
   ### Expected results
   
   No error should popup
   
   ### Actual results
   
   500 on the endpoint with partitioned Hive table.
   
   #### Screenshots
   
   
![image](https://user-images.githubusercontent.com/9434559/115705568-46547600-a39f-11eb-94fb-da840c4bf17c.png)
   
   
   #### How to reproduce the bug
   
   1. Go to SQL Lab
   2. Click on a partitioned table with Hive Database
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `>1.1 (current master)`
   - python version: `3.7`
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to