diff --git a/src/Processors/Transforms/WindowTransform.cpp b/src/Processors/Transforms/WindowTransform.cpp index 82e7cd48085..91c46c0ddef 100644 --- a/src/Processors/Transforms/WindowTransform.cpp +++ b/src/Processors/Transforms/WindowTransform.cpp @@ -13,6 +13,7 @@ #include #include #include +#include namespace DB { @@ -1724,6 +1725,12 @@ struct WindowFunctionExponentialTimeDecayedSum final : public RecurrentWindowFun void windowInsertResultInto(const WindowTransform * transform, size_t function_index) override { + //const auto & workspace = transform->workspaces[function_index]; + + LOG_WARNING(&Poco::Logger::get("windowInsertResultInto"), "{}:{} - {}:{}", + transform->frame_start.block, transform->frame_start.row, + transform->frame_end.block, transform->frame_end.row); + Float64 last_sum = getLastValueFromState(transform, function_index, STATE_SUM); Float64 last_t = getLastValueFromInputColumn(transform, function_index, ARGUMENT_TIME);