We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AlchemyCompiler
1 parent 9d63fd6 commit 9f4ff54Copy full SHA for 9f4ff54
ibis/backends/base/sql/alchemy/registry.py
@@ -129,8 +129,6 @@ def _table_array_view(t, op):
129
130
131
def _exists_subquery(t, op):
132
- from ibis.backends.base.sql.alchemy.query_builder import AlchemyCompiler
133
-
134
ctx = t.context
135
136
# TODO(kszucs): avoid converting the predicates to expressions
@@ -142,7 +140,7 @@ def _exists_subquery(t, op):
142
140
)
143
141
144
sub_ctx = ctx.subcontext()
145
- clause = AlchemyCompiler.to_sql(filtered, sub_ctx, exists=True)
+ clause = ctx.compiler.to_sql(filtered, sub_ctx, exists=True)
146
147
if isinstance(op, ops.NotExistsSubquery):
148
clause = sa.not_(clause)
0 commit comments