ktmud commented on issue #13426:
URL: https://github.com/apache/superset/issues/13426#issuecomment-797020484


   @john-bodley AdhocMetrics are always created from the datasource columns so 
I think from a user's perspective, it is expected that the aggregation should 
apply only to known columns of the underlying table (be it virtual or 
physical)---not another ad-hoc metric or derived column.
   
   A table name prefix will be totally transparent to the UI and users would 
not need to do anything extra. It is needed to create a concise & _correct_ SQL 
query because in this case we obviously didn't give SQLAlchemy enough hints to 
generate unambiguous SQL queries for all data engines.


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