Skip to content

sql: use set to test results of SELECT #236

@Korablev77

Description

@Korablev77

Currently, inside tap-tests resulting set of SELECT is checked considering order. For instance,

SELECT * FROM t1;
[1, 'a', 3] -- is OK
[1, 3, 'a'] -- is not OK

However, any insignificant change of query planner may affect choice of index to be used. Depending on index, order of resulting set produced by SELECT can change and tests become invalid.
Thus, the suggestion is to check only resulting sets (i.e. don't take into account order) where query plan is not a part of test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions