Open tuterbatuhan opened 5 years ago
Hi @tuterbatuhan,
we will consider this for future versions of Scotty.
Best, Philipp
Hi all, I wonder why this getAggValues() is lazily evaluated? Due to some performance concern?
Hi @jiayuasu, The lazy evaluation, in this case, is related to the quantile computation. We do not expect a great performance benefit from changing it. If you have further questions, please feel free to contact us!
Best, Juliane
Hey, "Lift" function is lazily evaluated by calling the getAggValues() function, as it can be seen here: https://github.com/TU-Berlin-DIMA/scotty-window-processor/blob/a18a7dc101f814b41a416aca9785a5848221667d/flink-connector/src/main/java/de/tub/dima/scotty/flinkconnector/demo/FlinkQuantileDemo.java#L28-L32
You may consider triggering the "Lift" function when a window ends, instead of adding another operator for lazy evaluation.