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

Don't try to validate relations before they've been created #539

Open
senderista opened this issue Sep 13, 2016 · 0 comments
Open

Don't try to validate relations before they've been created #539

senderista opened this issue Sep 13, 2016 · 0 comments
Assignees
Labels

Comments

@senderista
Copy link
Contributor

Right now a query like the following fails to parse:

T1 = load("https://uwdb.s3.amazonaws.com/sampleData/TwitterK.csv",
csv(schema(a:int,b:int),skip=0));
store(T1, TwitterK, [a, b]);
T2 = scan(TwitterK);
sink(T2);
MyriaError: Error 404 (Not Found): That dataset was not found

RACO is trying to look up the relation TwitterK in the catalog even though it doesn't yet exist. Perhaps we need to introduce some sort of boundary in the Sequence logical operator to denote when a relation name can be considered eligible for validation.

This is a problem for any queries that need to materialize intermediate results (e.g., to push operations into Postgres).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants