I am querying a Odata V2 service. The entity Foo has a property Bar of type Edm.String . Bar is a time in milliseconds that, sadly, was defined as a string. E.g. "1597091642312".
How can I query Foo for results where Bar is only after a specific point in time?
I tried to cast, like this:
/Bar?$filter=cast(Foo,Edm.Int64) gt 631148400000
But then I get:
Feature is not supported: Expression "5" in $filter or $orderby query options
Especially the '5' does not make sense to me.
The providing service is a SAP CAP CDS mock service, using a V4 to V2 proxy.