We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following DDLOG snippet:
wordidxs_unnested(doc_id, sent_id, UNNEST(wordidxs)) :- locations(id, doc_id, sent_id, wordidxs, mention_id, type, entity, words, is_correct, features). wordidxs_tmp1(doc_id, sent_id, MIN(wordidxs) - 1) :- wordidxs_unnested(doc_id, sent_id, wordidxs).
Running this program the second time crashes DeepDive, because it cannot drop view wordidxs_unnested (view wordidxs_tmp1 depends on it).
wordidxs_unnested
wordidxs_tmp1
There may be a better fix, but one work-around is to generate deepdive.conf and append CASCADE to
deepdive.conf
CASCADE
DROP VIEW IF EXISTS wordidxs_unnested;
The text was updated successfully, but these errors were encountered:
I can take a look at this.
Sorry, something went wrong.
@juhanaka awesome! You'll need to see https://github.com/HazyResearch/ddlog to fix the compiler.
Merge pull request #65 from HazyResearch/gh-421
36be677
Added CASCADE when dropping view.
Successfully merging a pull request may close this issue.
Consider the following DDLOG snippet:
Running this program the second time crashes DeepDive, because it cannot drop view
wordidxs_unnested
(viewwordidxs_tmp1
depends on it).There may be a better fix, but one work-around is to generate
deepdive.conf
and appendCASCADE
toThe text was updated successfully, but these errors were encountered: