shauryachats opened a new pull request, #16242: URL: https://github.com/apache/pinot/pull/16242
This PR introduces support for configuring the default hash function used by `KeySelector` during query planning and data shuffling. The broker can now specify the default via a new config: `pinot.broker.default.hash.function` (default: `absHashCode`). Key Changes: - Added defaultHashFunction to broker config and propagated it through `QueryEnvironment` to planning layers. - Updated `KeySelector` implementations (`SingleColumn`, `MultiColumn`, `Empty`) to support configurable hashing. - Introduced `HashFunctionSelector` utility for standardized hashing using algorithms like absHashCode, murmur2, murmur3, and cityhash. - Updated `ExchangeNode` and `MailboxSendNode` to carry the hash function. This enables better control over data distribution strategies in multistage query execution. -- 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]
