In our company, many jobs run with window aggregate and suffer from large amounts of intermediate shuffle. If we can enable 2 phase local agg on window aggregate, the performance will be improved.
This issue aims to support 2 phase local agg in window aggregate operator both in SQL and Table API. Simple tumble window will be supported in the first place.
We still use below configurations, but they take effect only inside each single window.