Skip to content

Commit b8bc722

Browse files
committed
ref: unify ops
1 parent 980d06a commit b8bc722

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

python/xorq/expr/relations.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@ def __dask_tokenize__(self):
141141
)
142142

143143

144-
class CachedNode(ops.DatabaseTable):
144+
class DatabaseTableView(ops.DatabaseTable):
145+
pass
146+
147+
148+
class CachedNode(DatabaseTableView):
145149
parent: Any = None
146150
storage: Any = None
147151

@@ -154,7 +158,7 @@ class CachedNode(ops.DatabaseTable):
154158
)
155159

156160

157-
class RemoteTable(ops.DatabaseTable):
161+
class RemoteTable(DatabaseTableView):
158162
remote_expr: Expr = None
159163

160164
@classmethod
@@ -172,7 +176,7 @@ def into_backend(expr, con, name=None):
172176
return RemoteTable.from_expr(con=con, expr=expr, name=name).to_expr()
173177

174178

175-
class FlightExpr(ops.DatabaseTable):
179+
class FlightExpr(DatabaseTableView):
176180
input_expr: Expr = None
177181
unbound_expr: Expr = None
178182
make_server: Callable = None
@@ -318,7 +322,7 @@ def flight_expr(
318322
)
319323

320324

321-
class FlightUDXF(ops.DatabaseTable):
325+
class FlightUDXF(DatabaseTableView):
322326
input_expr: Expr = None
323327
# FIXME: fix circular import issue so we can possibly pass an instance of AbstractExchanger
324328
udxf: type = None

0 commit comments

Comments
 (0)