Skip to content

Commit

Permalink
don't provide IDENTITY aspect to external rels
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed Oct 14, 2024
1 parent 409b2cc commit f9b1a13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions edb/pgsql/resolver/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def _uncompile_insert_object_stmt(
external_rels={
value_id: (
value_rel,
(pgce.PathAspect.SOURCE, pgce.PathAspect.IDENTITY),
(pgce.PathAspect.SOURCE,),
)
},
early_result=context.CompiledDML(
Expand Down Expand Up @@ -692,7 +692,7 @@ def _uncompile_insert_pointer_stmt(
external_rels={
source_id: (
value_rel,
(pgce.PathAspect.SOURCE, pgce.PathAspect.IDENTITY),
(pgce.PathAspect.SOURCE,),
)
},
early_result=context.CompiledDML(
Expand Down Expand Up @@ -922,7 +922,7 @@ def _uncompile_delete_object_stmt(
external_rels={
value_id: (
value_rel,
(pgce.PathAspect.SOURCE, pgce.PathAspect.IDENTITY),
(pgce.PathAspect.SOURCE,),
)
},
early_result=context.CompiledDML(
Expand Down Expand Up @@ -1114,7 +1114,7 @@ def _uncompile_delete_pointer_stmt(
external_rels={
source_id: (
value_rel,
(pgce.PathAspect.SOURCE, pgce.PathAspect.IDENTITY),
(pgce.PathAspect.SOURCE,),
)
},
early_result=context.CompiledDML(
Expand Down Expand Up @@ -1369,7 +1369,7 @@ def is_default(e: pgast.BaseExpr) -> bool:
external_rels={
value_id: (
value_rel,
(pgce.PathAspect.SOURCE, pgce.PathAspect.IDENTITY),
(pgce.PathAspect.SOURCE,),
)
},
early_result=context.CompiledDML(
Expand Down

0 comments on commit f9b1a13

Please sign in to comment.