villebro opened a new pull request #14014:
URL: https://github.com/apache/superset/pull/14014


   ### SUMMARY
   In the SQLA model, currently the inferred column type is only applied to 
regular columns but not calculated columns, which causes an exception to be 
raised when using a native select filter with temporal values. This change 
ensures that mapped column types are properly applied to both regular and 
calculated columns.
   
   ### AFTER
   
![image](https://user-images.githubusercontent.com/33317356/113977544-66d2eb00-984b-11eb-968c-da4684d96274.png)
   
   ### BEFORE
   
![image](https://user-images.githubusercontent.com/33317356/113977585-7baf7e80-984b-11eb-9c16-4d310ca630e9.png)
   
   ### TEST PLAN
   <!--- What steps should be taken to verify the changes -->
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


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