Skip to content

Commit

Permalink
Merge branch 'column-ordering' into aehrc-master
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrimes committed Feb 23, 2024
2 parents efbc99d + ac660aa commit ec827cb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ And, the equivalent with nested structure:
Note the former example is preferred due to its simplicity and the latter is included purely for illustrative purposes.

### Column Ordering
*View runners* MUST produce output in the order that the columns appear in the ViewDefinition.

*View runners* that support column ordering in their output format MUST order the columns of the result to match the order that they appear in the ViewDefinition.

`select`s that have nested `select`s will place the columns of the parent `select` before the columns of the nested `select`, and the columns from a `unionAll` list are placed last. To change the column ordering, it is possible to place the columns or the `unionAll` in a nested `select`, which can be ordered relative to other nested `select`s as desired.

Expand Down

0 comments on commit ec827cb

Please sign in to comment.