github dolthub/dolt v1.58.2
1.58.2

latest releases: v1.79.1, v1.79.0, v1.78.8...
4 months ago

Merged PRs

dolt

go-mysql-server

  • 3145: fix panic over SetOps with joins and subqueries
    The analyzer rule assignExecIndexes will apply a StripRowNode over any joins within a subquery.
    The analyzer rule finalizeUnions recursively calls the analyzer (calling assignExecIndexes), resulting in StripRowNodes getting applied twice.
    The double stripping results in rows that are too short and panics.
    This PR tells the finalizeUnions selector to skip assignExecIndexes, preventing the nested StripRowNodes.
    Also has some small formatting and naming clean up.
    fixes: #9631
  • 3141: #9628 - Fix UNION column mapping bug in nested multi-way operations
    Fixes #9628
    Fixed column scrambling in UNION queries with 3+ branches. The bug caused duplicate rows with wrong column positions when processing nested UNION operations like (A UNION B) UNION C.
    SetOp nodes now preserve schema order by recursing to left child instead of using sorted column set.

Closed Issues

  • 9628: In the result of the following query, the dashboard_id field appears to be incorrect — it returns the value of entity_id instead of the actual dashboard_id.

Don't miss a new dolt release

NewReleases is sending notifications on new releases.