COM: Column profiling stats in upload#247
Open
meghanagottapu wants to merge 2 commits intoc2siorg:mainfrom
Open
COM: Column profiling stats in upload#247meghanagottapu wants to merge 2 commits intoc2siorg:mainfrom
meghanagottapu wants to merge 2 commits intoc2siorg:mainfrom
Conversation
PR ReviewSquashYour PR has 2 commits. Please squash into a single commit. How to fixgit fetch origin
git rebase -i origin/main # mark all but first commit as "squash"
git push --force-with-leaseThis comment updates automatically on each push. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
After uploading a CSV, users currently see a raw data table with no statistical context. To understand the shape of their data, how many nulls a column has, what its range is, and what the most common values are, they have to export the file and open it in a separate tool.
This PR adds automatic column profiling to the upload flow and to GET /projects/{id}. No new endpoint is added; the profile is embedded in the existing ProjectResponse, so the frontend receives it in the same request that loads the data table, at zero extra cost.
Fixes #246
Type of Change
How Has This Been Tested?
Two new test files - 50 tests total across unit and integration-style layers.
tests/test_profiling_service.py (27 unit tests) and tests/test_profile_endpoint.py (23 service-layer tests)
Screenshots (if applicable)
Checklist