Skip to content

A parenthesised UNION ALL followed by another UNION ALL loses rows of the parenthesised part #3135

Backlog

Description

@mathiasrw
alasql('(SELECT 1 AS a UNION ALL SELECT 2) UNION ALL SELECT 3');

It gives [{a: 1}, {a: 3}].

SQLite gives 1, 2, 3 (with the part written as SELECT * FROM (...)).

Fixed by #2712.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions