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

Implement test case for joining two tables with identical column names #691

Closed
wants to merge 1 commit into from

Conversation

rozenmd
Copy link
Contributor

@rozenmd rozenmd commented May 23, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented May 23, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@rozenmd
Copy link
Contributor Author

rozenmd commented May 23, 2023

I have read the CLA Document and I hereby sign the CLA

Copy link
Member

@kentonv kentonv left a comment

Choose a reason for hiding this comment

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

I guess this test is just to prove that the bug is in D1, not workerd?

SELECT articles.name, users.name
FROM articles
INNER JOIN users
ON articles.user_id = users.id`).raw();
Copy link
Member

Choose a reason for hiding this comment

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

This returns an iterator, but the code below is expecting an array. You need something like let array = [...iter]; to expand it.

@rozenmd
Copy link
Contributor Author

rozenmd commented May 25, 2023

Yeah I wasn't sure where the bug was coming from, so figured this would be a good test to have

@rozenmd rozenmd force-pushed the rozenmd/raw-tests branch from 6f8da10 to 6e17443 Compare May 25, 2023 08:49
@geelen
Copy link
Contributor

geelen commented Jul 24, 2023

Closing this in favour of #696

@geelen geelen closed this Jul 24, 2023
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.

3 participants