diff options
Diffstat (limited to 'sqlglot/dataframe/sql/column.py')
-rw-r--r-- | sqlglot/dataframe/sql/column.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sqlglot/dataframe/sql/column.py b/sqlglot/dataframe/sql/column.py index ca85376..724c5bf 100644 --- a/sqlglot/dataframe/sql/column.py +++ b/sqlglot/dataframe/sql/column.py @@ -144,9 +144,11 @@ class Column: ) -> Column: ensured_column = None if column is None else cls.ensure_col(column) ensure_expression_values = { - k: [Column.ensure_col(x).expression for x in v] - if is_iterable(v) - else Column.ensure_col(v).expression + k: ( + [Column.ensure_col(x).expression for x in v] + if is_iterable(v) + else Column.ensure_col(v).expression + ) for k, v in kwargs.items() if v is not None } |