Skip to content

Commit

Permalink
Fix qlast references after bad merge
Browse files Browse the repository at this point in the history
The qlast refactor PR (#7167) removed qlast while #7183 added more
references. Fix them.
  • Loading branch information
msullivan committed Apr 17, 2024
1 parent 992ab82 commit 043e9bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edb/edgeql/compiler/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def compile_ext_ai_to_str(
with ctx.detached() as subctx:
subctx.partial_path_prefix = call.args[0].expr
subctx.anchors["__subject__"] = call.args[0].expr
call.body = dispatch.compile(index_expr.qlast, ctx=subctx)
call.body = dispatch.compile(index_expr.parse(), ctx=subctx)

return call

Expand Down
2 changes: 1 addition & 1 deletion edb/pgsql/delta_ext_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _compile_ai_embeddings_source_view_expr(
steps=[qlast.Ptr(name="id")],
partial=True,
),
index_sexpr.qlast,
index_sexpr.parse(),
],
),
)
Expand Down

0 comments on commit 043e9bd

Please sign in to comment.