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

Code sometimes work and sometimes does not #26

Open
wiki-me opened this issue Jun 28, 2022 · 1 comment
Open

Code sometimes work and sometimes does not #26

wiki-me opened this issue Jun 28, 2022 · 1 comment

Comments

@wiki-me
Copy link

wiki-me commented Jun 28, 2022

In the last section and the last question.

When i enter this code:

SELECT DISTINCT c1.cosponsor_name FROM cosponsors c1 LEFT JOIN cosponsors CS2 ON c1.sponsor_name = CS2.cosponsor_name WHERE CS2.cosponsor_name IS NULL

Sometimes it shows:

No data returned

Other times it seems to work correctly (showing "Correct" a few seconds after showing the resulting table).

It seems to me that the code should work always, or at least give a deterministic result. You might have to try 10-20 times to see it is giving out different results.

@zichongkao
Copy link
Owner

Interesting. The non-determinism makes me wonder if the sqlite DB is timing out. After all, that query is one of the more expensive ones. Let me see if it's possible to reduce the data size!

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

No branches or pull requests

2 participants