A clear and concise description of what the bug is.
How to reproduce the bug
- Enabled async quries using celery via https://superset.apache.org/docs/installation/async-queries-celery
- Enabled async database queries through database configuration for mssql server
- open the sql tab and run the query
- See error
Expected results
Get back the query results like when I had the async queries disabled
Actual results
fails with error year 54755 is out of range
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
docker running superset
(please complete the following information):
-
superset version
-
2022-10-14 08:20:43,968:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
Falling back to the built-in cache, that stores data in the metadata database, for the following cache: FILTER_STATE_CACHE_CONFIG. It is recommended to use RedisCache, MemcachedCache or another dedicated caching backend for production deployments
2022-10-14 08:20:43,973:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the following cache: FILTER_STATE_CACHE_CONFIG. It is recommended to use RedisCache, MemcachedCache or another dedicated caching backend for production deployments
Falling back to the built-in cache, that stores data in the metadata database, for the following cache: EXPLORE_FORM_DATA_CACHE_CONFIG. It is recommended to use RedisCache, MemcachedCache or another dedicated caching backend for production deployments
2022-10-14 08:20:43,977:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the following cache: EXPLORE_FORM_DATA_CACHE_CONFIG. It is recommended to use RedisCache, MemcachedCache or another dedicated caching backend for production deployments
/usr/local/lib/python3.8/site-packages/flask_appbuilder/models/sqla/interface.py:68: SAWarning: relationship 'SqlaTable.slices' will copy column tables.id to column slices.datasource_id, which conflicts with relationship(s): 'Slice.table' (copies tables.id to slices.datasource_id). If this is not the intention, consider if these relationships should be linked with back_populates, or if viewonly=True should be applied to one or more if they are read-only. For the less common case that foreign key constraints are partially overlapping, the orm.foreign() annotation can be used to isolate the columns that should be written towards. To silence this warning, add the parameter 'overlaps="table"' to the 'SqlaTable.slices' relationship. (Background on this error at: https://sqlalche.me/e/14/qzyx)
for prop in class_mapper(obj).iterate_properties:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Superset 0.0.0-dev
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
python version: 3.8.13
Make sure to follow these steps before submitting your issue - thank you!



Additional context
no idea really how to investigate furher.
Regards
A clear and concise description of what the bug is.
How to reproduce the bug
Expected results
Get back the query results like when I had the async queries disabled
Actual results
fails with error year 54755 is out of range
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
docker running superset
(please complete the following information):
superset version
2022-10-14 08:20:43,968:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
Falling back to the built-in cache, that stores data in the metadata database, for the following cache:
FILTER_STATE_CACHE_CONFIG. It is recommended to useRedisCache,MemcachedCacheor another dedicated caching backend for production deployments2022-10-14 08:20:43,973:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the following cache:
FILTER_STATE_CACHE_CONFIG. It is recommended to useRedisCache,MemcachedCacheor another dedicated caching backend for production deploymentsFalling back to the built-in cache, that stores data in the metadata database, for the following cache:
EXPLORE_FORM_DATA_CACHE_CONFIG. It is recommended to useRedisCache,MemcachedCacheor another dedicated caching backend for production deployments2022-10-14 08:20:43,977:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the following cache:
EXPLORE_FORM_DATA_CACHE_CONFIG. It is recommended to useRedisCache,MemcachedCacheor another dedicated caching backend for production deployments/usr/local/lib/python3.8/site-packages/flask_appbuilder/models/sqla/interface.py:68: SAWarning: relationship 'SqlaTable.slices' will copy column tables.id to column slices.datasource_id, which conflicts with relationship(s): 'Slice.table' (copies tables.id to slices.datasource_id). If this is not the intention, consider if these relationships should be linked with back_populates, or if viewonly=True should be applied to one or more if they are read-only. For the less common case that foreign key constraints are partially overlapping, the orm.foreign() annotation can be used to isolate the columns that should be written towards. To silence this warning, add the parameter 'overlaps="table"' to the 'SqlaTable.slices' relationship. (Background on this error at: https://sqlalche.me/e/14/qzyx)
for prop in class_mapper(obj).iterate_properties:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Superset 0.0.0-dev
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
python version: 3.8.13
Make sure to follow these steps before submitting your issue - thank you!
Additional context
no idea really how to investigate furher.
Regards