Skip to content

SQL: SELECT [constant] FROM [index] returns one record only #31863

@astefan

Description

@astefan

Assuming an index that has more than one document in it, issuing a query that SELECTs a constant from it will return just one document, whereas it should return [number_of_documents_in_index] records.

Example query: SELECT 1=1 FROM "test_emp".
Result:

---------------
true

Desired result:

---------------
true
true
true
....

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions