I am trying to run the following query:
def soql = new SoqlQueryBuilder()
.addSelectPhrase("count(*)")
.setWhereClause(":updated_at>'${dateString}'")
.build();
soda-java currently generates the following url:
https://data.cityofnewyork.us/resource/fhrw-4uyv.json?$select=count(*)&$where=:updated_at%3E%272018-05-08T21:19:25Z%27&$$version=2.0
which returns
{"message":"Invalid SoQL query","errorCode":"query.soql.invalid","data":{}}
Seems that this particular query is not supported by API version 2.0. Changing version to 2.1 results in a successful response.
The API SODA_VERSION is set here:
|
final UriBuilder builder = UriBuilder.fromUri(uri).queryParam(SODA_VERSION, "2.0"); |
Are there any plans to bump SODA_VERSION to 2.1?
I am trying to run the following query:
soda-java currently generates the following url:
which returns
Seems that this particular query is not supported by API version 2.0. Changing version to 2.1 results in a successful response.
The API SODA_VERSION is set here:
soda-java/src/main/java/com/socrata/api/HttpLowLevel.java
Line 633 in 75f89c9
Are there any plans to bump
SODA_VERSIONto 2.1?