[ https://issues.apache.org/jira/browse/OLINGO-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ziyi Jiang updated OLINGO-1160: ------------------------------- Description: When I call a function import of which the datatype is Complex and it joins the two table, I get the following output showing system query is not compatible when I use $top function. Same result returned when using $filter function. Running environment: Windows 10 Tomcat 8.0.3 Olingo V2 2.0.7 <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code/> <message xml:lang="en-US"> System query option '$top' is not compatible with the return type. </message> </error> Thanks and appreciated! was: When I call a function import of which the datatype is Complex and it joins the two table, I get the following output showing system query is not compatible when I sue $top function. So does it using $filter function. Running environment: Windows 10 Tomcat 8.0.3 Olingo V2 2.0.7 <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code/> <message xml:lang="en-US"> System query option '$top' is not compatible with the return type. </message> </error> Thanks and appreciated! > How to use features such as $filter $top in Olingo V2 > ----------------------------------------------------- > > Key: OLINGO-1160 > URL: https://issues.apache.org/jira/browse/OLINGO-1160 > Project: Olingo > Issue Type: Question > Affects Versions: V2 2.0.7 > Reporter: Ziyi Jiang > Priority: Critical > > When I call a function import of which the datatype is Complex and it joins > the two table, I get the following output showing system query is not > compatible when I use $top function. > Same result returned when using $filter function. > Running environment: > Windows 10 > Tomcat 8.0.3 > Olingo V2 2.0.7 > <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> > <code/> > <message xml:lang="en-US"> > System query option '$top' is not compatible with the return type. > </message> > </error> > Thanks and appreciated! -- This message was sent by Atlassian JIRA (v6.4.14#64029)