Hi Ammar,

Thank you for pointing out this issue. It looks like SPARK-60579 is indeed a 
real wrong-results bug, although it has been there since the SPJ sorting 
support in 4.0.0+ and it only applies when both 
spark.sql.sources.v2.bucketing.enabled & 
spark.sql.sources.v2.bucketing.sorting.enabled are set to true (currently, both 
default to false).

Given that 4.0.6 would be the last 4.0 release, I would be happy to wait a bit 
for the patch, but I don't currently see any ongoing PRs for this issue yet. 
Peter, Ammar, does either of you plan to work on it this week? Also, it's not 
clear to me whether this change could potentially be too large/risky to 
backport.

With this in mind, I would propose to wait a few more days, and proceed with 
RC1 next Monday, on December 7. So, if a fix lands on branch-4.0 by then, then 
it will be included in 4.0.6 (and of course we can allow a bit more flexibility 
if needed, I just wouldn't want to delay the release indefinitely).

Meanwhile, branch-4.0 received 15+ new patches, so in any case we can keep this 
discussion active as we finalize the exact timelines for the release. Thank you 
for chiming in!

Best,
Uroš

On 2026/11/27 13:40:20 Ammar Chalifah wrote:
> Hi, there is still one correctness issue open regarding SPJ in 4.0.
> https://issues.apache.org/jira/browse/SPARK-60579
> If 4.0.6 is the last, it seems like the patch for this has to be in as well.
> 
> Best regards,
> Ammar
> 
> 
> On Fri, Nov 27, 2026 at 3:33 PM Uroš Bojanić via dev <[email protected]>
> wrote:
> 
> > Hi all,
> >
> > I would like to propose kicking off the Spark 4.0.6 release, and I would
> > be happy to volunteer to drive it.
> >
> > The 4.0 line has been maintained and served well until now, and the 18
> > month window ended on November 23, 2026.
> > Per the current versioning policy, the proposed Spark 4.0.6 release would
> > be the final release of the 4.0 line.
> >
> > As of today, branch-4.0 has a total of 61 additional patches after Apache
> > Spark 4.0.5 was released on October 27, 2026.
> > This includes several correctness fixes and critical issues. If there are
> > no objections, I plan to cut RC1 early next week.
> >
> > What do you folks think, should we proceed with 4.0.6 as proposed? Please
> > let me know if you have more patches for branch-4.0.
> >
> > Best,
> > Uroš
> >
> > ---------------------------------------------------------------------
> > To unsubscribe e-mail: [email protected]
> >
> >
> 

---------------------------------------------------------------------
To unsubscribe e-mail: [email protected]

Reply via email to