revert partition in group by clause
This commit is contained in:
parent
40045fd3fe
commit
4e240a8087
|
@ -1476,12 +1476,12 @@ public class QueryStack {
|
||||||
|
|
||||||
public void addGrouping() {
|
public void addGrouping() {
|
||||||
BaseJoiningPredicateBuilder firstPredicateBuilder = mySqlBuilder.getOrCreateFirstPredicateBuilder();
|
BaseJoiningPredicateBuilder firstPredicateBuilder = mySqlBuilder.getOrCreateFirstPredicateBuilder();
|
||||||
mySqlBuilder.getSelect().addGroupings(firstPredicateBuilder.getJoinColumns());
|
mySqlBuilder.getSelect().addGroupings(firstPredicateBuilder.getResourceIdColumn());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addOrdering() {
|
public void addOrdering() {
|
||||||
BaseJoiningPredicateBuilder firstPredicateBuilder = mySqlBuilder.getOrCreateFirstPredicateBuilder();
|
BaseJoiningPredicateBuilder firstPredicateBuilder = mySqlBuilder.getOrCreateFirstPredicateBuilder();
|
||||||
mySqlBuilder.getSelect().addOrderings(firstPredicateBuilder.getJoinColumns());
|
mySqlBuilder.getSelect().addOrderings(firstPredicateBuilder.getResourceIdColumn());
|
||||||
}
|
}
|
||||||
|
|
||||||
public Condition createPredicateReferenceForEmbeddedChainedSearchResource(
|
public Condition createPredicateReferenceForEmbeddedChainedSearchResource(
|
||||||
|
|
Loading…
Reference in New Issue