ypankovych commented on issue #14043:
URL: https://github.com/apache/superset/issues/14043#issuecomment-817569817


   So, if a column exists in dataset columns, it does work. 
   
   If I add that column to dataset via dataset editor, it works: 
   
![image](https://user-images.githubusercontent.com/31005942/114358312-7455e100-9b7b-11eb-811c-317fe57465de.png)
   
   And here's the expression:
   
![image](https://user-images.githubusercontent.com/31005942/114358362-8172d000-9b7b-11eb-87f6-23a567b9a25d.png)
   
   
   The thing is, I cannot do this every time. I have too many columns, I 
believe it should work as a plain select, e.g 
   ```sql
   SELECT "virtual_table"."internal_0" AS internal_0
   FROM
     (select *
      from public.invoice_invoice i
      left join public.olap_table_0_invoice_attrs ia on ia.id = i.id) AS 
virtual_table
   ```
   


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