metanil commented on PR #55885: URL: https://github.com/apache/spark/pull/55885#issuecomment-6964672043
@peter-toth thanks. 36 to 40 are in `977eb50`. - **36**: the description now says alias projection never substitutes a transform's literal parameter, while any other literal maps to its alias, and the test count is gone. - **37**: your first option. `pairReducers` decides a pair once and keeps the answer on both expressions, the other side's swapped, so `isCompatible` and `reducersBothWays` read the same one. The guard from 30 and its helper are gone, so `EnsureRequirements` is as on master, and the fixture no longer inspects the stack: `ChangingAnswerBucketFunction`'s `bucket(12)` side answers `null` after its first call, your variant. Without the memo the join returns 16 of 48 rows, and a new test counts the connector calls: one per direction, eight without it. - **38**: your `withNewChildren` version of `rewriteColumnSlots`, and `GroupPartitionsExec` just calls it. Finding 14's `GroupPartitionsExecSuite` case now pins that path: it fails with a bare `copy`. - **39**: the three reducer log lines name the function with `transformLabel`, so `name()` and the class. The default-name test checks the message names the function. - **40**: `IntegerTruncateFunction` returns `Integer` and null for a null key, and `IntTruncateReducer` is null-safe. The null-key test evaluates it over a value and then a null; without the check the null read as 4, the previous row's value. The shuffle-onto test has null ids now. Also in `977eb50`: the generalized overload's javadoc says that when it was not asked because a literal's type differs, the warning says that, rather than "implements no reducer". -- 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]
