Fix cache for multiple time comparisons (#5828)
Fix cache for multiple time comparisons (#5828)

* Fix cache for multiple time comparisons

* Remove simple cache

* Improve docstring

mistercrunch/panoramix,airbnb/caravel,zhouyao1994/incubator-superset,apache/incubator-superset,mistercrunch/panoramix,mistercrunch/panoramix,apache/incubator-superset,zhouyao1994/incubator-superset,airbnb/superset,mistercrunch/panoramix,apache/incubator-superset,airbnb/caravel,zhouyao1994/incubator-superset,apache/incubator-superset,airbnb/caravel,airbnb/superset,apache/incubator-superset,airbnb/superset,zhouyao1994/incubator-superset,airbnb/caravel,zhouyao1994/incubator-superset,airbnb/superset