You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the EvaDB issues and found no similar bug report.
Bug
-- No error if it the table exists
-- Error as the table does not exist
DROP TABLE StargazerDetails;
-- No error if it the table exists
-- No error if it the table does not exist
DROP TABLE IF EXISTS StargazerDetails;
-- Error if the table already exists
-- No error if the table does not exist
CREATE TABLE StargazerDetails AS
SELECT GithubUserdetails(github_username, "{github_pat}")
FROM StargazerList;
-- No error if the table already exists
-- No error if the table does not exist
CREATE TABLE IF NOT EXISTS StargazerDetails AS
SELECT GithubUserdetails(github_username, "{github_pat}")
FROM StargazerList;
Environment
Need to add unit tests for all four cases.
Are you willing to submit a PR?
Yes I'd like to help by submitting a PR!
The text was updated successfully, but these errors were encountered:
Cannot reproduce the bug but added robust testcases.
#1149 The inconsistent behavior might be happening because of another
bug where we were creating a table even if the select query failed. We
have fixed that, so it may fix this bug as well.
Search before asking
Bug
-- No error if it the table exists
-- Error as the table does not exist
DROP TABLE StargazerDetails;
-- No error if it the table exists
-- No error if it the table does not exist
DROP TABLE IF EXISTS StargazerDetails;
-- Error if the table already exists
-- No error if the table does not exist
CREATE TABLE StargazerDetails AS
SELECT GithubUserdetails(github_username, "{github_pat}")
FROM StargazerList;
-- No error if the table already exists
-- No error if the table does not exist
CREATE TABLE IF NOT EXISTS StargazerDetails AS
SELECT GithubUserdetails(github_username, "{github_pat}")
FROM StargazerList;
Environment
Need to add unit tests for all four cases.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: