[ https://issues.apache.org/jira/browse/OLINGO-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17259907#comment-17259907 ]
Archana Rai commented on OLINGO-1160: ------------------------------------- Hi Jiang, Function Import does not support system queries as per the specification [https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-odata/9e2dc8c9-43de-4474-a7fa-c62b21525ff4] Thanks, Archana > 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 (v8.3.4#803005)