diff --git a/src/main/java/org/influxdb/impl/InfluxDBImpl.java b/src/main/java/org/influxdb/impl/InfluxDBImpl.java index 9398b09e7..8a238d499 100644 --- a/src/main/java/org/influxdb/impl/InfluxDBImpl.java +++ b/src/main/java/org/influxdb/impl/InfluxDBImpl.java @@ -481,11 +481,6 @@ public void onFailure(final Call call, final Throwable throwable) { */ @Override public void query(final Query query, final int chunkSize, final Consumer consumer) { - - if (version().startsWith("0.") || version().startsWith("1.0")) { - throw new UnsupportedOperationException("chunking not supported"); - } - Call call = null; if (query instanceof BoundParameterQuery) { BoundParameterQuery boundParameterQuery = (BoundParameterQuery) query; @@ -556,9 +551,6 @@ public QueryResult query(final Query query, final TimeUnit timeUnit) { public void createDatabase(final String name) { Preconditions.checkNonEmptyString(name, "name"); String createDatabaseQueryString = String.format("CREATE DATABASE \"%s\"", name); - if (this.version().startsWith("0.")) { - createDatabaseQueryString = String.format("CREATE DATABASE IF NOT EXISTS \"%s\"", name); - } execute(this.influxDBService.postQuery(this.username, this.password, Query.encode(createDatabaseQueryString))); }