VasShabu opened a new pull request, #29365:
URL: https://github.com/apache/flink/pull/29365

   ## What is the purpose of the change
   
   Implement a new PTF for deduplication of a stream, currently Flink does not 
support such method, however people are able to get similar functionality with 
long and verbose SQL statements, this flip is to make this a mainline function 
and 
   
   ## Brief change log
   
   - Register the built-in DEDUPLICATE_KEEP_FIRST process table function in 
BuiltInFunctionDefinitions
   - Add the DeduplicateKeepFirst runtime implementation and its type strategy
   - Add docs and tests
   
   
   ## Verifying this change
   
   - Added DeduplicateKeepFirstTypeStrategyTest for input validation and output 
type inference
   - Added DeduplicateKeepFirstSemanticTests for the function's behaviour
   - Added DeduplicateKeepFirstRestoreTest for state restore from a savepoint
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (don't know)
     - The runtime per-record code paths (performance sensitive): (yes)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (don't know)
     - The S3 file system connector: (don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (docs)
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   <!--
   If generative AI tooling has been used in the process of authoring this PR, 
please
   change the checkbox below to `[X]` and replace the placeholder in the 
"Generated-by"
   line with the tool name and version. Otherwise remove the "Generated-by" 
line.
   See the ASF Generative Tooling Guidance for details:
   https://www.apache.org/legal/generative-tooling.html
   
   You are responsible for the quality and correctness of every change in this 
PR
   regardless of the tooling used. Low-effort AI-generated PRs will be closed. 
See
   AGENTS.md for the full guidance.
   -->
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: [Claude Opus 4.8]
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to