diff options
Diffstat (limited to 'sqlglot/dataframe/sql/functions.py')
-rw-r--r-- | sqlglot/dataframe/sql/functions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlglot/dataframe/sql/functions.py b/sqlglot/dataframe/sql/functions.py index 71385aa..bdc1fb4 100644 --- a/sqlglot/dataframe/sql/functions.py +++ b/sqlglot/dataframe/sql/functions.py @@ -1119,7 +1119,7 @@ def map_entries(col: ColumnOrName) -> Column: def map_from_entries(col: ColumnOrName) -> Column: - return Column.invoke_anonymous_function(col, "MAP_FROM_ENTRIES") + return Column.invoke_expression_over_column(col, expression.MapFromEntries) def array_repeat(col: ColumnOrName, count: t.Union[ColumnOrName, int]) -> Column: |