summaryrefslogtreecommitdiffstats
path: root/sqlglot/dataframe/sql/functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'sqlglot/dataframe/sql/functions.py')
-rw-r--r--sqlglot/dataframe/sql/functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlglot/dataframe/sql/functions.py b/sqlglot/dataframe/sql/functions.py
index 1549a07..4002cfe 100644
--- a/sqlglot/dataframe/sql/functions.py
+++ b/sqlglot/dataframe/sql/functions.py
@@ -386,7 +386,7 @@ def input_file_name() -> Column:
def isnan(col: ColumnOrName) -> Column:
- return Column.invoke_anonymous_function(col, "ISNAN")
+ return Column.invoke_expression_over_column(col, expression.IsNan)
def isnull(col: ColumnOrName) -> Column: