@@ -15,6 +15,7 @@ use hash_graph_postgres_store::store::postgres::query::{Expression, Transpile as
1515use hashql_core:: {
1616 heap:: { Heap , Scratch } ,
1717 id:: Id as _,
18+ module:: std_lib:: graph:: types:: knowledge:: entity as entity_types,
1819 symbol:: sym,
1920 r#type:: { TypeBuilder , TypeId , environment:: Environment } ,
2021} ;
@@ -562,10 +563,10 @@ fn data_island_provides_without_lateral() {
562563
563564 let callee_id = DefId :: new ( 99 ) ;
564565
565- // Light entity path accesses — solver puts everything on Interpreter, creating only a
566+ // Light entity path accesses: solver puts everything on Interpreter, creating only a
566567 // Postgres Data island for the entity columns. No Postgres exec island exists.
567568 let body = body ! ( interner, env; [ graph:: read:: filter] @0 /2 -> ? {
568- decl env: ( ) , vertex: [ Opaque sym :: path :: Entity ; ? ] ,
569+ decl env: ( ) , vertex: ( |t| entity_types :: types :: entity ( t , t . unknown ( ) , None ) ) ,
569570 uuid: ?, func: [ fn ( ) -> ?] , result: ?;
570571 @proj v_uuid = vertex. entity_uuid: ?;
571572
@@ -612,7 +613,7 @@ fn provides_drives_select_and_joins() {
612613 // bb0 accesses entity paths (Postgres-origin), then bb1 uses a closure (Interpreter).
613614 // The Postgres island should provide the accessed paths to the Interpreter island.
614615 let body = body ! ( interner, env; [ graph:: read:: filter] @0 /2 -> ? {
615- decl env: ( ) , vertex: [ Opaque sym :: path :: Entity ; ? ] ,
616+ decl env: ( ) , vertex: ( |t| entity_types :: types :: entity ( t , t . unknown ( ) , None ) ) ,
616617 uuid: ?, archived: ?, func: [ fn ( ) -> ?] , result: ?;
617618 @proj v_uuid = vertex. entity_uuid: ?,
618619 v_metadata = vertex. metadata: ?,
@@ -743,7 +744,7 @@ fn property_mask() {
743744 // Properties access in bb0 (Postgres Data island) with an apply in bb1 (Interpreter)
744745 // ensures Properties and `PropertyMetadata` appear in the provides set.
745746 let body = body ! ( interner, env; [ graph:: read:: filter] @0 /2 -> ? {
746- decl env: ( ) , vertex: [ Opaque sym :: path :: Entity ; ? ] ,
747+ decl env: ( ) , vertex: ( |t| entity_types :: types :: entity ( t , t . unknown ( ) , None ) ) ,
747748 props: ?, prop_meta: ?, func: [ fn ( ) -> ?] , result: ?;
748749 @proj v_props = vertex. properties: ?,
749750 v_meta = vertex. metadata: ?,
0 commit comments