dsidlo edited a comment on issue #15768:
URL: https://github.com/apache/superset/issues/15768#issuecomment-906724198


   As a work-around I convert the date to a string.
   So instead of...
   
   `   select   rfq._created_dt, ...`
   
   use...
   
   `    select to_char(rfq._created_dt, 'YYY-MM-DD') as _created_dt, ...`
   
   The actual error does not seem to come from the Postgres server as indicated 
by the error message.
   I did some debugging, and it turns out that in the condition...
   `if abs(minutes) >= 1440:`
   minutes is a datetime.timedelta object which can't be evaluated against and 
int using the  '>=' operator.


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

To unsubscribe, e-mail: [email protected]

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