Hi,
I'm developping an application that interacts with an instance of denodo.
I need to make a query with two "in" conditions but apparently it doesn't work.
This two query works fine
1 - filter = UrlEncode("TRIM(""aff_etat_iep"")NOT IN ('Supprime','Archive')")
http://myserver.com:9090/denodo-restfulws/data_access_p/views/iep_affaires?$select=aff_id&$filter=TRIM(%22aff_etat_iep%22)NOT+IN+(%27Supprime%27%2C%27Archive%27)&affaires_ctre_id=21&$format=JSON&$start_index=0&$count=100
2 - filter = UrlEncode("TRIM(""ccs_id"") IN (9187,9202,9206,9205,9204,9203)")
http://myserver.com:9090/denodo-restfulws/data_access_p/views/iep_affaires?$select=aff_id&$filter=TRIM(%22ccs_id%22)+IN+(9187%2C9202%2C9206%2C9205%2C9204%2C9203)&affaires_ctre_id=21&$format=JSON&$start_index=0&$count=100
But when I try to cumul both filters I've got
{"errors":[{"message":"The field 'TRIM(\"ccs_id\") IN (9187,9202,9206,9205,9204,9203)' does not exist."}]}
http://myserver.com:9090/denodo-restfulws/data_access_p/views/iep_affaires?$select=aff_id&$filter=TRIM(%22aff_etat_iep%22)NOT+IN+(%27Supprime%27%2C%27Archive%27)&TRIM(%22ccs_id%22)+IN+(9187%2C9202%2C9206%2C9205%2C9204%2C9203)&affaires_ctre_id=21&$format=JSON&$start_index=0&$count=100
if I change order of filters erreurs changes to
{"errors":[{"message":"The field 'TRIM(\"aff_etat_iep\")NOT IN ('Supprime','Archive')' does not exist."}]}
Is there another way to cumul both filters, currently I'm using "&" opeerator.
Thanks in advance