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

   When using [Apache Doris](https://doris.apache.org/) (compatible with MySQL 
protocol) as database and enabled GENERIC_CHART_AXES feature, the sql generated 
by superset can not be executed correctly.
   
   #### How to reproduce the bug
   1. Enable `GENERIC_CHART_AXES` feature
   2. Explore doris dataset as below
   
![image](https://user-images.githubusercontent.com/7382922/194853777-a6b1b9e0-3d97-42ea-901e-8d78ff705576.png)
   
   ### Expected results
   
   generated sql should have different alias name in `select` clause like
   ```sql
   SELECT DATE(c_at) AS c_at_aliased,
          COUNT(*) AS count
   FROM doris_db.table_xxx
   GROUP BY DATE(c_at)
   ORDER BY count DESC
   LIMIT 10000;
   ```
   or user can custome alias x-aixs name
   
   ### Environment
   
   - superset version: `master at d1a6f0ebc4e2dd092580ad49da7c724c577e6ece`
   - any feature flags active:
   `GENERIC_CHART_AXES: true`
   ### 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.

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