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.
1 parent 1c5b91e commit 4aa6c7eCopy full SHA for 4aa6c7e
python/datafusion/expr.py
@@ -394,7 +394,7 @@ def utf8_literal(value: str) -> Expr:
394
if isinstance(value, str):
395
value = pa.scalar(value, type=pa.string())
396
return Expr(expr_internal.Expr.literal(value))
397
- return literal(value)
+ return Expr.literal(value)
398
399
@staticmethod
400
def column(value: str) -> Expr:
python/tests/test_functions.py
@@ -24,8 +24,6 @@
24
from datafusion import SessionContext, column
25
from datafusion import functions as f
26
from datafusion import literal, utf8_literal
27
-from datafusion import Expr
28
-from datafusion.expr import expr_internal
29
30
np.seterr(invalid="ignore")
31
0 commit comments