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

Update getColumnsFromDataset endpoint to SST #1003

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Conversation

noah-iversen
Copy link
Contributor

Update getColumnsFromDataset endpoint to SST

Github Issue Number Here: #980

What user problem are we solving?
Users can now read and select the the parsed columns from their uploaded dataset.

What solution does this PR provide?
This solution changes the URL for the getColumnsFromDataset GET request to point to our new SST endpoint that handles parsing for user uploaded files.

Testing Methodology
Tested upload/file read with two different CSV files that had designated column names. I examined network logs and response codes while doing so, everything seems to be fine. See video below.

video1214385438.mp4

Any other considerations
Apparently when running a PUT request for the presigned URL upload, the body must contain the raw file data itself and not as FormData. This important to keep note for future presigned URL uploads. The documentation I found through Googling didn't really mention this (thanks ChatGPT for the help).

@noah-iversen noah-iversen requested a review from a team as a code owner October 2, 2023 03:36
Copy link
Member

@karkir0003 karkir0003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work on this @noah-iversen . thanks for the detailed testing

@noah-iversen noah-iversen added this pull request to the merge queue Oct 2, 2023
Merged via the queue into nextjs with commit 171c31d Oct 2, 2023
8 checks passed
@noah-iversen noah-iversen deleted the sst-read-dataset branch October 2, 2023 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants