]
Pedro Ruivo updated ISPN-5682:
------------------------------
Fix Version/s: 8.1.0.Final
(was: 8.0.0.Final)
The minimum aggregation function doesn't work with Strings
----------------------------------------------------------
Key: ISPN-5682
URL:
https://issues.jboss.org/browse/ISPN-5682
Project: Infinispan
Issue Type: Bug
Components: Embedded Querying
Affects Versions: 8.0.0.Beta3
Reporter: Jakub Markos
Assignee: Adrian Nistor
Fix For: 8.1.0.Final
This query
{code}
public void testGroupBy7() {
QueryFactory qf = getQueryFactory();
Query q = qf.from(getModelFactory().getUserImplClass())
.select(Expression.min("addresses.street"))
.having("name").eq("Spider").toBuilder()
.build();
List<Object[]> list = q.list();
assertEquals(list.get(0)[0], "Bond Street");
}
{code}
returns in the context of QueryDslConditionsTest test class
(
https://github.com/infinispan/infinispan/blob/7634c0996cb3a174d2a379f2096...)
the street "Old Street", while "Bond Street" is expected.