We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a9b171 commit 79caa6fCopy full SHA for 79caa6f
1 file changed
python/tests/test_dataframe.py
@@ -33,6 +33,7 @@
33
WindowFrame,
34
column,
35
literal,
36
+ col,
37
)
38
from datafusion import (
39
functions as f,
@@ -291,8 +292,6 @@ def test_sort_unsupported(df):
291
292
293
294
def test_aggregate_string_and_expression_equivalent(df):
- from datafusion import col
295
-
296
result_str = df.aggregate("a", [f.count()]).to_pydict()
297
result_expr = df.aggregate(col("a"), [f.count()]).to_pydict()
298
assert result_str == result_expr
0 commit comments