File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/esql Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ public Result next() throws IOException {
105105 XContentBuilder jsonBuilder = new XContentBuilder (JsonXContent .jsonXContent , outputStream );
106106
107107 List <? extends ColumnInfo > columns = response .response ().columns ();
108- int valueCount = 0 ;
109108 for (Iterable <Object > row : response .response ().rows ()) {
110109 jsonBuilder .startObject ();
111110 int index = 0 ;
@@ -120,17 +119,8 @@ public Result next() throws IOException {
120119 index ++;
121120 }
122121 jsonBuilder .endObject ();
123- valueCount ++;
124122 }
125123 jsonBuilder .close ();
126-
127- logger .info (
128- "query interval: {} - {}, valueCount: {}" ,
129- DATE_TIME_FORMATTER .formatMillis (interval .startMs ()),
130- DATE_TIME_FORMATTER .formatMillis (interval .endMs ()),
131- valueCount
132- );
133-
134124 return new Result (interval , Optional .of (outputStream .bytes ().streamInput ()));
135125 }
136126 }
You can’t perform that action at this time.
0 commit comments