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


   The error seems to be related the following code...
   
   > superset_app            |   File 
"/usr/local/lib/python3.7/site-packages/pytz/__init__.py", line 403, in __init__
   > superset_app            |     if abs(minutes) >= 1440:
   > superset_app            | TypeError: '>=' not supported between instances 
of 'datetime.timedelta' and 'int'
   > superset_app            | [SupersetError(message="postgresql error: '>=' 
not supported between instances of 'datetime.timedelta' and 'int'", 
error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 
'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, 
extra={'engine_name': 'PostgreSQL', 'issue_codes': [{'code': 1002, 'message': 
'Issue 1002 - The database returned an unexpected error.'}]})]
   
   The minutes variable is a datetime.timedelta object, which is not compatible 
with the '>=' operator against and int, in python.
   I'm using python 3.7.9.


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