Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix submissions_status RPC when UNION ALL doesn't keep the order #1201

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 26, 2022

  1. Fix submissions_status RPC when UNION ALL doesn't keep the order

    UNION ALL is not guaranteed to keep the order of the results. In fact
    with (at least) Postgres 13 the order is not well defined and can change
    between executions.
    
    This patch adds an extra column to the query, tagging each statistics
    with its key, so that we can reconstruct the correct order of the
    results.
    edomora97 committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    655cc95 View commit details
    Browse the repository at this point in the history