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 query rows step when querying a table containing spaces in the name #15346

Merged
merged 8 commits into from
Jan 13, 2025

Conversation

mike12345567
Copy link
Collaborator

Description

Updating query row to correctly decode the input table Id as it will be encoded. The CTX expects this to be passed in its decoded state as Koa would do to encoded URLs.

Addresses

…be encoded. The CTX expects this to be passed in its decoded state as Koa would do to encoded URLs.
@mike12345567 mike12345567 self-assigned this Jan 10, 2025
@mike12345567 mike12345567 requested a review from a team as a code owner January 10, 2025 17:47
@mike12345567 mike12345567 requested review from samwho and removed request for a team January 10, 2025 17:47
Copy link

qa-wolf bot commented Jan 10, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/s labels Jan 10, 2025
const ctx = buildCtx(appId, null, {
params: {
tableId,
tableId: decodeURIComponent(tableId),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm confused as to why spaces in the name of the table would affect the- ohhhh the ID for external tables encodes the name within it doesn't it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeap exactly this - external tables the ID is built from the table name today.

@mike12345567 mike12345567 merged commit 27bfa33 into master Jan 13, 2025
20 checks passed
@mike12345567 mike12345567 deleted the fix/automation-query-rows-table-with-spaces branch January 13, 2025 13:03
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
firestorm Data/Infra/Revenue Team size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants