Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:DB_S22_12
-
Team:Data Access and Database
-
Urgent?:No
Description
Quentin Le Boulc'h reports the following new warning when using sqlalchemy v1.4.28:
$ butler import /sps/lsst/users/leboulch/Gen3-DC2 /sps/lsst/datasets/rubin/previews/dp0.2/calib --export-file /sps/lsst/datasets/rubin/previews/dp0.2/calib/export.yaml
|
py.warnings WARNING: /cvmfs/sw.lsst.eu/linux-x86_64/lsst_distrib/v23.0.0/stack/miniconda3-py38_4.9.2-0.7.0/Linux64/daf_butler/23.0.0+d18c45d440/python/lsst/daf/butler/registry/interfaces/_database.py:1640: SAWarning: TypeDecorator Base64Region() will not produce a cache key because the ``cache_ok`` attribute is not set to True. This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions. Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)
|
Attachments
Issue Links
- is duplicated by
-
DM-33061 Ensure daf_butler SQLAlchemy usage enables caching
- Invalid
See also
DM-33061.