Skip to content

Commit b1dadbd

Browse files
authored
fix: read entire query response into bytes array (#254)
1 parent a95431c commit b1dadbd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Bug Fixes
44
1. [#252](https://github.com/influxdata/influxdb-client-java/pull/252): Spring auto-configuration works even without `influxdb-client-reactive` [spring]
5-
5+
1. [#254](https://github.com/influxdata/influxdb-client-java/pull/254): Avoid reading entire query response into bytes array
66

77
## 3.1.0 [2021-07-27]
88

client/src/generated/java/com/influxdb/client/service/QueryService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Call<String> postQuery(
7575
* @return Call&lt;ResponseBody&gt;
7676
*/
7777
@POST("api/v2/query")
78+
@Streaming
7879
Call<ResponseBody> postQueryResponseBody(
7980
@retrofit2.http.Header("Zap-Trace-Span") String zapTraceSpan, @retrofit2.http.Header("Accept-Encoding") String acceptEncoding, @retrofit2.http.Header("Content-Type") String contentType, @retrofit2.http.Query("org") String org, @retrofit2.http.Query("orgID") String orgID, @retrofit2.http.Body Query query
8081
);

0 commit comments

Comments
 (0)