villebro commented on issue #5739: [Sqllab] Error: no such column When there 
are same fields in two tables with a join
URL: 
https://github.com/apache/incubator-superset/issues/5739#issuecomment-416901611
 
 
   @Narcissus7 As Superset wraps the SQL Lab query into a subquery, I don't 
think there is any way for Superset to select the deduplicated column without 
explicit aliases as @mistercrunch suggested. One approach would be to somehow 
reconstruct the the `SELECT *...` into explicit `SELECT a.col as col, b.col as 
col__1...`, but I don't think that's really feasible. I think it might be 
better to raise an Exception in SQL Lab if there are duplicates.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to