Skip to content

Commit 3f73c28

Browse files
committed
Remove debug
1 parent 29c54d4 commit 3f73c28

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/esql/EsqlDataExtractor.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)