You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/02/01 11:20:41 UTC

[GitHub] [superset] rmgpinto opened a new issue #12860: Presto incorrect order of column type mappings

rmgpinto opened a new issue #12860:
URL: https://github.com/apache/superset/issues/12860


   Presto has incorrect order of column type mappings.
   `timestamp` is overriden with `time` due to these lines:
   
   ```
   (re.compile(r"^date.*", re.IGNORECASE), types.DATE()),
   (re.compile(r"^time.*", re.IGNORECASE), types.Time()),
   ```
   
   causing incorrect query statement to be passed from superset to presto.
   
   ### Expected results
   
   Query statements to have correct column type/cast.
   
   ### Actual results
   
   The query is incorrect.
   
   ### 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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] zuzana-vej closed issue #12860: Presto incorrect order of column type mappings

Posted by GitBox <gi...@apache.org>.
zuzana-vej closed issue #12860:
URL: https://github.com/apache/superset/issues/12860


   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] zuzana-vej commented on issue #12860: Presto incorrect order of column type mappings

Posted by GitBox <gi...@apache.org>.
zuzana-vej commented on issue #12860:
URL: https://github.com/apache/superset/issues/12860#issuecomment-822961647


   has linked merge PR, assuming that this issue is resolved


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org