diff --git a/Cargo.lock b/Cargo.lock
index 2ad62e1635145..b5a8526152b7a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1418,6 +1418,7 @@ version = "0.16.0-alpha.2"
dependencies = [
"mimalloc",
"re_crash_handler",
+ "re_query2",
"re_sdk_comms",
"re_viewer",
]
@@ -4308,7 +4309,6 @@ dependencies = [
"re_log_encoding",
"re_log_types",
"re_query",
- "re_query2",
"re_query_cache",
"re_smart_channel",
"re_tracing",
@@ -4683,7 +4683,7 @@ dependencies = [
"re_log",
"re_log_types",
"re_query",
- "re_query2",
+ "re_query_cache",
"re_tracing",
"re_types",
"re_types_core",
@@ -4721,8 +4721,10 @@ dependencies = [
"re_entity_db",
"re_log_types",
"re_query",
+ "re_query_cache",
"re_renderer",
"re_tracing",
+ "re_types_core",
"re_ui",
"re_viewer_context",
]
@@ -5117,7 +5119,6 @@ dependencies = [
"re_log",
"re_log_types",
"re_query",
- "re_query2",
"re_query_cache",
"re_renderer",
"re_smart_channel",
diff --git a/crates/re_entity_db/Cargo.toml b/crates/re_entity_db/Cargo.toml
index 38e646d205a1e..db210bcf7b48f 100644
--- a/crates/re_entity_db/Cargo.toml
+++ b/crates/re_entity_db/Cargo.toml
@@ -34,7 +34,6 @@ re_log.workspace = true
re_log_encoding = { workspace = true, features = ["decoder"] }
re_log_types.workspace = true
re_query.workspace = true
-re_query2.workspace = true
re_query_cache = { workspace = true, features = ["to_archetype"] }
re_smart_channel.workspace = true
re_tracing.workspace = true
diff --git a/crates/re_entity_db/src/entity_db.rs b/crates/re_entity_db/src/entity_db.rs
index 3027be02373ab..4d618e81a71a1 100644
--- a/crates/re_entity_db/src/entity_db.rs
+++ b/crates/re_entity_db/src/entity_db.rs
@@ -12,7 +12,7 @@ use re_log_types::{
EntityPathHash, LogMsg, RowId, SetStoreInfo, StoreId, StoreInfo, StoreKind, TimePoint,
TimeRange, TimeRangeF, Timeline,
};
-use re_query2::PromiseResult;
+use re_query_cache::PromiseResult;
use re_types_core::{components::InstanceKey, Archetype, Loggable};
use crate::{ClearCascade, CompactedStoreEvents, Error, TimesPerTimeline};
@@ -117,7 +117,7 @@ pub struct EntityDb {
data_store: DataStore,
/// The active promise resolver for this DB.
- resolver: re_query2::PromiseResolver,
+ resolver: re_query_cache::PromiseResolver,
/// Query caches for the data in [`Self::data_store`].
query_caches: re_query_cache::Caches,
@@ -142,7 +142,7 @@ impl EntityDb {
times_per_timeline: Default::default(),
tree: crate::EntityTree::root(),
data_store,
- resolver: re_query2::PromiseResolver::default(),
+ resolver: re_query_cache::PromiseResolver::default(),
query_caches,
stats: IngestionStatistics::new(store_id),
}
@@ -197,7 +197,7 @@ impl EntityDb {
}
#[inline]
- pub fn resolver(&self) -> &re_query2::PromiseResolver {
+ pub fn resolver(&self) -> &re_query_cache::PromiseResolver {
&self.resolver
}
@@ -207,7 +207,7 @@ impl EntityDb {
&self,
entity_path: &EntityPath,
query: &re_data_store::LatestAtQuery,
- ) -> PromiseResult