Sergi Vladykin created IGNITE-1249: -------------------------------------- Summary: Incorrect example Group index example. Key: IGNITE-1249 URL: https://issues.apache.org/jira/browse/IGNITE-1249 Project: Ignite Issue Type: Bug Reporter: Sergi Vladykin Assignee: Yakov Zhdanov Priority: Blocker
In the following example https://github.com/gridgain/gridgain-advanced-examples/blob/master/src/main/java/org/gridgain/examples/datagrid/query/GroupIndexExample.java we have a wrong annotation usage. {code} @QuerySqlField(index = true) @QuerySqlField.Group(name = "idx1", order = 1) private int bla; {code} The correct one must look like this {code} @QuerySqlField(index=true, orderedGroups = {@QuerySqlField.Group(name = "grp1", order = 1), @QuerySqlField.Group(name = "grp2", order = 2)}) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)