AnissaLiu commented on PR #13690: URL: https://github.com/apache/gluten/pull/13690#issuecomment-7131492405
> Thanks — translating the existing two-stage ExecNodes with KeyedStateSpec and the shift time zone is a clean way to land the window path, and fixing the SESSION/CUMULATE type codes closes a latent base bug. > > 1. velox4j-ref.txt pins a commit that no longer exists, so flink-test fails before running any UT; details in the line comment on gluten-flink/velox4j-ref.txt. > 2. spotless:check fails on StreamExecGlobalWindowAggregate.java and StreamExecLocalWindowAggregate.java (import order); please run `mvn spotless:apply` in gluten-flink - CI has not surfaced it because flink.yml failed at the clone step. > 3. The translated window operators have no SQL-level test; details in the line comment on WindowUtilsTest.java. > Note on keyless windows: the "$keyless_key" wrap added in Utils.wrapKeylessInput pairs with the velox-side wrap this PR depends on; please keep it on whatever resolution lands there (the design concern is raised on the velox side). Thanks for the review — all three points are fixed and pushed (PR head updated, CI rerunning). velox4j-ref pin: now points at the velox4j#81 head 0ecee593ff... as a full sha with the trailing newline; the flink.yml clone temporarily targets the PR branch (the https://github.com/apache/gluten/pull/13670 pattern). Will revert to bigo-sg/gluten-20260829 + the merged commit once https://github.com/apache/gluten/pull/81 lands. spotless: fixed via mvn spotless:apply — pure import reordering on the two shadows; spotless:check passes now. SQL-level tests: added WindowTVFAggregationTest (10 cases, GlutenStreamingTestBase) — single-stage TUMBLE incl. a late-drop case (on the legacy SourceFunction runtime, where row-by-row emission makes the two-phase late check observable), HOP merge + chain, SESSION merge, proc-time TUMBLE on the tick, two-stage local->global (TUMBLE/HOP, with plan assertions on Local/GlobalWindowAggregate and outputs equal to single-stage), keyless, FILTER (zero-count windows), and the update-stream rejection via a changelog-mode values source. All 10 pass, plus the 4 WindowUtilsTest cases. On keyless: understood — the gluten-side wrapKeylessInput and the velox-side wrap are one contract; we'll keep them paired as the velox review resolves. -- 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]
