You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "minni31 (via GitHub)" <gi...@apache.org> on 2026/10/01 07:49:49 UTC

[PR] [CORE] Support key-grouped columnar shuffle [gluten]

minni31 opened a new pull request, #13171:
URL: https://github.com/apache/gluten/pull/13171

   ## What changes are proposed in this pull request?
   
   This PR enables native key-grouped columnar shuffle for the Velox backend when Spark's partition metadata can be mapped safely.
   
   - Add Spark-version shims for key-grouped shuffle metadata across Spark 3.4 through 4.2.
   - Compute partition IDs on the JVM and prepend a temporary PID column for the existing native range-shuffle path.
   - Preserve vanilla Spark shuffle for ClickHouse, Bolt, and duplicate or partially clustered partition metadata.
   - Keep unknown-key routing compatible with the active Spark runtime, including content-based binary-key hashing.
   - Add focused Spark 4.0/4.1 integration coverage and a deterministic binary fallback-hash regression.
   
   This supersedes #12084 and addresses its review concern that partially clustered or duplicated partition values could make the advertised partition count diverge from the routing map.
   
   ## How was this patch tested?
   
   - `./dev/format-scala-code.sh apply`
   - `git diff --check`
   - License headers validated for all changed files with `.github/workflows/util/license-header.py`
   - Added Spark 4.0/4.1 key-grouped partitioning regressions and `ExecUtilSuite`
   
   The project build and test suites were not run locally; this draft is pending CI and external validation.
   
   ## Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: GitHub Copilot CLI 1.0.86
   


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [CORE] Support key-grouped columnar shuffle [gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13171:
URL: https://github.com/apache/gluten/pull/13171#issuecomment-5927163875

   Run Gluten Clickhouse CI on x86


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org