kgabryje opened a new issue #17185:
URL: https://github.com/apache/superset/issues/17185


   When I open the Samples tab in data table, it show "No results" even though 
the row counter shows that there are rows available to display and inspection 
of the request in the console shows that data was fetched.
   I think the bug might have been introduced in PR #16299 - it uses columns 
from chart query to display data tables Results and Samples, even though 
Samples might (and usually does) have different columns than Results. It will 
actually show only those columns from Samples query that are present in current 
chart query.
   
   #### How to reproduce the bug
   
   1. Open a chart, for example 'Games per Genre over time'
   2. Go to Samples tab
   3. It shows only "Genre" column, even though there are many more available.
   
   ### Expected results
   
   All columns of Samples query should be displayed in data table
   
   ### Actual results
   
   Only columns that are present in both Samples query and current chart query 
are displayed in Samples data table.
   
   #### Screenshots
   
   
![image](https://user-images.githubusercontent.com/15073128/138292711-bb8abda2-909b-4ce1-9378-a13d3d7b469e.png)
   
   ### Environment
   
   Latest master (e32acd)
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] 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.
   
   
   CC @junlincc @AAfghahi 
   


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

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