DISTINCT ON query with ORDER BY expression with non-default NULLS FIRST/LAST errors out #107848
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
Describe the problem
The following errors out on CRDB, but succeeds in postgres:
#107842 Fixes the ORDER BY column case. This issue is opened to handle all other cases where we order by an expression.
Environment:
Jira issue: CRDB-30214
The text was updated successfully, but these errors were encountered: