Skip to content

Commit cb78d8d

Browse files
committed
Code review
1 parent 581a1e9 commit cb78d8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/sql-ref-syntax-qry-select-orderby.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ ORDER BY { expression [ sort_direction | nulls_sort_oder ] [ , ...] }
3131
<dl>
3232
<dt><code><em>ORDER BY</em></code></dt>
3333
<dd>
34-
Specifies a comma separated list of expressions along with optional parameters sort_direction
35-
and nulls_sort_order which are used to sort the rows.
34+
Specifies a comma separated list of expressions along with optional parameters <code>sort_direction</code>
35+
and <code>nulls_sort_order</code> which are used to sort the rows.
3636
</dd>
3737
<dt><code><em>sort_direction</em></code></dt>
3838
<dd>
@@ -48,8 +48,8 @@ ORDER BY { expression [ sort_direction | nulls_sort_oder ] [ , ...] }
4848
<dt><code><em>nulls_sort_order</em></code></dt>
4949
<dd>
5050
Optionally specifies whether NULL values are returned before/after non-NULL values, based on the
51-
sort direction. In spark, NULL values are considered to be lower than any non-NULL values. Therefore
52-
the ordering of NULL values depend on the sort direction.<br><br>
51+
sort direction. In Spark, NULL values are considered to be lower than any non-NULL values by default.
52+
Therefore the ordering of NULL values depend on the sort direction.<br><br>
5353
<ol>
5454
<li>If the sort order is ASC, NULLS are returned first; to force NULLS to be last, use NULLS LAST</li>
5555
<li>If the sort order is DESC, NULLS are returned last; to force NULLS to be first, use NULLS FIRST</li>

0 commit comments

Comments
 (0)