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

   A clear and concise description of what the bug is.
   When attempting to use a cross-filter to filter table B by clicking a row in 
table A, table B throws error "DB engine Error". When clicking "See more", the 
full error reads:
   > Cannot compile Column object until its 'name' is assigned.
   
   > This may be triggered by:
   > Issue 1011 - Superset encountered an unexpected error. 
   
   #### How to reproduce the bug
   
   1. Create Chart A in Dashboard: Using a dataset that is a large table with a 
user_id and create_date, create a table chart that has `create_date` as the 
dimension and count(distinct user_id) as the metric
   2. Create Chart B in Dashboard: Using a dataset that is a large table with a 
user_id and create_date, create a table chart that is just the raw values of 
this dataset, columns `create_date` and `user_id`
   3. Enable `DASHBOARD_CROSS_FILTERS` feature flag
   4. Enable cross filtering in the dashboard
   5. While in dashboard view, click a single row in chart A
   
   ### Expected results
   
   Chart B should be filtered by the `create_date` that was selected in Chart 
A. E.g. all users in the date selected will be present in Chart B
   
   ### Actual results
   
   Error (Chart B)
   
![image](https://github.com/apache/superset/assets/22102411/296e2474-d932-40fc-9950-4047bed27876)
   
   "See more"
   
![image](https://github.com/apache/superset/assets/22102411/332dbf3f-5de6-4af6-a6c1-41464f6407ea)
   
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Firefox 115.0.2
   - superset version: `2.1.0`
   - any feature flags active: 
   ``` 
   FEATURE_FLAGS = { 'GLOBAL_ASYNC_QUERIES': False, 
'SQLLAB_BACKEND_PERSISTENCE': True, 
                         'VERSIONED_EXPORT': True, 
'ENABLE_TEMPLATE_PROCESSING': True,
                         'DASHBOARD_RBAC': True,  'DRILL_TO_DETAIL': True, 
                         'DRILL_BY': True, 'DASHBOARD_CROSS_FILTERS': True} 
   ```
   
   ### 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.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


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