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

Random order of columns from data explorer download #53

Open
NHSBSA-Open-Data opened this issue May 15, 2024 · 2 comments
Open

Random order of columns from data explorer download #53

NHSBSA-Open-Data opened this issue May 15, 2024 · 2 comments
Assignees
Labels
Bugs & Maintenance Something isn't working as expected, we are getting it fixed.

Comments

@NHSBSA-Open-Data
Copy link
Collaborator

Overview

When using the data exploerer to filter a dataset, the columns in the output do not match what was presentied inthe data explorer. Equally, the order is random each time.

What is affected?

Downloads from the data exploerer after filtering.

Timeframe of solution

2024/2025 Quarter 1

Resolution date

Solution Details

What went wrong?

Why did it happen?

The solution implemented

How are we ensuring this does not happen again

@NHSBSA-Open-Data NHSBSA-Open-Data added the Bugs & Maintenance Something isn't working as expected, we are getting it fixed. label May 15, 2024
@NHSBSA-Open-Data NHSBSA-Open-Data added this to the 2024/2025 Quarter 1 milestone May 15, 2024
@NHSBSA-Open-Data NHSBSA-Open-Data self-assigned this May 15, 2024
@NHSBSA-Open-Data NHSBSA-Open-Data moved this from Backlog to Alpha in NHSBSA Open Data roadmap May 15, 2024
@NHSBSA-Open-Data NHSBSA-Open-Data changed the title Random order of columns from dat explorer download Random order of columns from data explorer download May 28, 2024
@NHSBSA-Open-Data NHSBSA-Open-Data moved this from Alpha to Discovery in NHSBSA Open Data roadmap Jul 16, 2024
@Daniellappv
Copy link
Collaborator

Daniellappv commented Jan 8, 2025

@NHSBSA-Open-Data this issue has been discussed in the past. Data Explorer displays in a random order (it's not a bug). It is not possible to define the order in BigQuery and that's how it works. We had also suggested some an alternative solution back in 2023:

  • In case we want to have another view in Data Explorer we can embed an extra column like "sr_no_for_order" while loading the data into the big query and remove that field while showing the data in preview. It will require some changes and development time and also if the user runs the query directly from the explorer or via API he will be able to see that column.

cc @KateNords

@NHSBSA-Open-Data
Copy link
Collaborator Author

@Daniellappv The fact that November 2024 Contractor Details data uploaded not in a random order was what confused me the most - aware that the order is usually completely random but that this file didn't reflect the norm. Did I do something different with that file that I can replicate again, perhaps, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs & Maintenance Something isn't working as expected, we are getting it fixed.
Projects
Status: Alpha
Development

No branches or pull requests

3 participants