diff --git a/python/arcticdb/version_store/_store.py b/python/arcticdb/version_store/_store.py index ecda686d831..cd56d1decf2 100644 --- a/python/arcticdb/version_store/_store.py +++ b/python/arcticdb/version_store/_store.py @@ -2472,8 +2472,8 @@ def is_symbol_pickled(self, symbol: str, as_of: Optional[VersionQueryInput] = No return self.is_pickled_descriptor(dit.timeseries_descriptor) def _get_time_range_from_ts(self, desc, min_ts, max_ts): - if desc.stream_descriptor.index.kind != IndexDescriptor.Type.TIMESTAMP or \ - desc.stream_descriptor.sorted == SortedValue.UNSORTED or \ + if desc.index.kind != IndexDescriptor.Type.TIMESTAMP or \ + desc.sorted == SortedValue.UNSORTED or \ min_ts is None or \ max_ts is None: return datetime64("nat"), datetime64("nat")