File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,13 @@ def selection(op):
107
107
return plan
108
108
109
109
110
+ @translate .register (ops .Limit )
111
+ def limit (op ):
112
+ if op .offset :
113
+ raise NotImplementedError ("DataFusion does not support offset" )
114
+ return translate (op .table ).limit (op .n )
115
+
116
+
110
117
@translate .register (ops .Aggregation )
111
118
def aggregation (op ):
112
119
table = translate (op .table )
Original file line number Diff line number Diff line change 2
2
from pytest import param
3
3
4
4
import ibis
5
- import ibis .common .exceptions as exc
6
5
7
6
8
7
def test_backend_name (backend ):
@@ -73,7 +72,6 @@ def test_tables_accessor_tab_completion(con):
73
72
assert 'functional_alltypes' in keys
74
73
75
74
76
- @pytest .mark .notimpl (["datafusion" ], raises = exc .OperationNotDefinedError )
77
75
@pytest .mark .parametrize (
78
76
"expr_fn" ,
79
77
[
You can’t perform that action at this time.
0 commit comments