Skip to content

Commit fc52257

Browse files
committed
sort() default to ORDER BY ALL if no cols are specified
1 parent e1a604c commit fc52257

File tree

10 files changed

+508
-615
lines changed

10 files changed

+508
-615
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
- Added a new function `group_by_all()` to the `DataFrame` class.
1111
- Added `connection_parameters` parameter to `DataFrameReader.dbapi()` (PuPr) method to allow passing keyword arguments to the `create_connection` callable.
1212
- Added support for `Session.begin_transaction`, `Session.commit` and `Session.rollback`.
13-
- Added a new function `sort_by_all` to the `DataFrame` class with the below alias:
14-
- `DataFrame.sortByAll()` for `DataFrame.sort_by_all()`
15-
- `DataFrame.order_by_all()` for `DataFrame.sort_by_all()`
16-
- `DataFrame.orderByAll()` for `DataFrame.sort_by_all()`
1713
- Added support for the following functions in `functions.py`:
1814
- Geospatial functions:
1915
- `st_interpolate`
@@ -62,6 +58,10 @@
6258
- `st_geometryfromwkt`
6359
- `try_to_geography`
6460
- `try_to_geometry`
61+
62+
#### Improvements
63+
64+
- Enhanced `DataFrame.sort()` to support `ORDER BY ALL` when no columns are specified.
6565
- Added a parameter to enable and disable automatic column name aliasing for `interval_day_time_from_parts` and `interval_year_month_from_parts` functions.
6666

6767
#### Bug Fixes

docs/source/snowpark/dataframe.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ DataFrame
6767
DataFrame.natural_join
6868
DataFrame.orderBy
6969
DataFrame.order_by
70-
DataFrame.orderByAll
71-
DataFrame.order_by_all
7270
DataFrame.pivot
7371
DataFrame.print_schema
7472
DataFrame.printSchema
@@ -85,8 +83,6 @@ DataFrame
8583
DataFrame.select_expr
8684
DataFrame.show
8785
DataFrame.sort
88-
DataFrame.sortByAll
89-
DataFrame.sort_by_all
9086
DataFrame.subtract
9187
DataFrame.take
9288
DataFrame.toDF

0 commit comments

Comments
 (0)