zhang-jianq opened a new pull request, #13735:
URL: https://github.com/apache/gluten/pull/13735

   **What changes are proposed in this pull request?**
   
   Fixes [GLUTEN-13733](https://github.com/apache/gluten/issues/13733) 
(companion [bigo-sg/velox#106](https://github.com/bigo-sg/velox/pull/106), 
[bigo-sg/velox4j#84](https://github.com/bigo-sg/velox4j/pull/84)):
   
   - `StreamExecDeduplicate` translates keyed/global Deduplicate with 
rowtime/proc-time, keep-first/keep-last, and the Flink `generateUpdateBefore` / 
`generateInsert` changelog gating. Mini-batch with compact-changes is rejected 
fail-loud.
   - `GlutenOneInputOperator` persists native operator checkpoint records in 
`ListState<byte[]>` and passes them back on `initializeState`; it constructs 
`KeyedStateBackendParameters` from the subtask's runtime key-group range.
   - `GlutenSourceFunction` and `GlutenStreamingFileWriterOperator` use the 
same `byte[][]` checkpoint channel.
   - `GlutenStatefulRecordSerializer` writes raw Presto frame bytes with 
snapshot version 2; v1 Base64 snapshots fail loud.
   - `gluten-flink/velox4j-ref.txt` pins 
[VELOX4J_SHA](https://github.com/bigo-sg/velox4j/commit/VELOX4J_SHA); CI clones 
the matching velox4j branch until the dependent PRs merge.
   
   **How was this patch tested?**
   
   - `DeduplicateFunctionsTest`: 9/9.
   - `GlutenStatefulRecordSerializerTest`: 5/5 (byte[] wire, old Base64 
fail-loud, v1/v2 snapshot compatibility).
   - `GlutenStreamingFileWriterOperatorTest`: 2/2 on the `byte[][]` channel.
   - E2E dual-run vs native Flink 1.19.2 with fixed filesystem inputs and print 
sink: 8/8 jobs FINISHED; 8/8 normalized changelog match; 4/8 exact. The four 
strict mismatches are only the print sink's `TIMESTAMP(3)` `.000` suffix; after 
removing the suffix the final result sets are identical.
   - The E2E scenarios cover keyed/global × rowtime/proc-time × 
keep-first/keep-last.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to