Skip to content

Commit

Permalink
for apache#1316, update select_pagination_with_diff_group_by_and_orde…
Browse files Browse the repository at this point in the history
…r_by 7th.
  • Loading branch information
haocao committed Oct 16, 2018
1 parent 260e6d7 commit 60be368
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,13 @@
<table name="t_order_item" alias="i" />
</tables>
<tokens>
<table-token begin-position="33" original-literals="t_order" />
<table-token begin-position="48" original-literals="t_order_item" />
<offset-token begin-position="223" offset="5" />
<row-count-token begin-position="226" row-count="3" />
<items-token begin-position="28">
<table-token begin-position="22" original-literals="t_order" />
<table-token begin-position="37" original-literals="t_order_item" />
<offset-token begin-position="212" offset="5" />
<row-count-token begin-position="215" row-count="3" />
<items-token begin-position="17">
<items>
<item>i.item_id AS ORDER_BY_DERIVED_0 </item>
<item>i.user_id AS GROUP_BY_DERIVED_0 </item>
</items>
</items-token>
</tokens>
Expand All @@ -68,7 +67,7 @@
</and-condition>
</or-condition>
<group-by-columns>
<group-by-column name="user_id" alias="GROUP_BY_DERIVED_0" owner="i" order-direction="ASC" />
<group-by-column name="user_id" owner="i" order-direction="ASC" />
</group-by-columns>
<order-by-columns>
<order-by-column name="item_id" alias="ORDER_BY_DERIVED_0" owner="i" order-direction="DESC" />
Expand Down

0 comments on commit 60be368

Please sign in to comment.