diff options
Diffstat (limited to '')
-rw-r--r-- | sqlglot/dataframe/sql/functions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlglot/dataframe/sql/functions.py b/sqlglot/dataframe/sql/functions.py index 9ab00d5..d98feee 100644 --- a/sqlglot/dataframe/sql/functions.py +++ b/sqlglot/dataframe/sql/functions.py @@ -1019,11 +1019,11 @@ def posexplode(col: ColumnOrName) -> Column: def explode_outer(col: ColumnOrName) -> Column: - return Column.invoke_anonymous_function(col, "EXPLODE_OUTER") + return Column.invoke_expression_over_column(col, expression.ExplodeOuter) def posexplode_outer(col: ColumnOrName) -> Column: - return Column.invoke_anonymous_function(col, "POSEXPLODE_OUTER") + return Column.invoke_expression_over_column(col, expression.PosexplodeOuter) def get_json_object(col: ColumnOrName, path: str) -> Column: |