@@ -901,6 +901,16 @@ public class DBApiEntry implements AutoCloseable {
values[curWritePos] = values[curWritePos - 1];
}
+ boolean fixupTimestamp = true;
+ if (fixupTimestamp) {
+ // Fixup timestamps
+ long curTs = tsStart;
+ for (int i = 0; i < expectedResultCount; i++) {
+ timestamps[i] = curTs;
+ curTs += step;
+ }
+
return new PointVals(point, expectedResultCount, timestamps, values);
} catch (Exception e) {
LOG.error("selectPointValsFromDBWithStep error: ", e);