Re: [DISCUSS] FLIP-501: Support Window Extension in DataStream V2 API

2025-01-11 Thread Xu Huang
Hi, Junrui Yes, the Window extension does not currently support custom Window. We aim to keep the DataStream V2 extensions from becoming overly complex. The Window mechanism is meant to be convenient for users and is similar to syntactic sugar rather than the fundamental primitive of DataStream. Fo

Re: [DISCUSS] FLIP-501: Support Window Extension in DataStream V2 API

2025-01-11 Thread Xu Huang
HI, Wenjin We believe that the interfaces proposed by FLIP are more flexible and offer greater freedom to the user. For example, users can decide for themselves how to process data and in what form it is stored in the Window. In cases where pre-aggregation is required, the user can choose to store

Re: [DISCUSS] FLIP-501: Support Window Extension in DataStream V2 API

2025-01-09 Thread Junrui Lee
Hi, Xu, The FLIP mentions that currently three types of Windows are supported: GlobalWindow, TimeWindow, and SessionWindow. Is custom Window not supported on Window extension? Best, Junrui wenjin 于2025年1月10日周五 10:42写道: > Hi, Xu > > I've noticed that the Window API provided in the FLIP differs

RE: [DISCUSS] FLIP-501: Support Window Extension in DataStream V2 API

2025-01-09 Thread wenjin
Hi, Xu I've noticed that the Window API provided in the FLIP differs significantly from the one on DataStream V1. For example, it introduces the definition of the Window lifecycle and allows users to decide whether to store input records within the Window. What are the advantages of designing