-
Notifications
You must be signed in to change notification settings - Fork 0
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
Missing tables #85
Comments
Hey, @domupls. I think you’ve misread the manual. ‘install_sql.py’ should be run before importing, as for post-processing, file ‘after_import.sql’ should be run instead |
Apologies @zlochina, I meant |
More likely, you’ve not initialised database with tables. Its done either by executing install_sql.py by hand, or executing this file with ‘py scripts/main.py -i’ |
Sorry, i’ve read your message wrongly. You’ve initialised the database. The only thing, which comes to mind, that could be the problem is that you’ve got another schema with the same tables, thus an issue “relation … does not exist” is raised because of ambiguity of the query. can you tell me if that’s the case, and if so show the output of query ‘show search_path;’ |
Yes, it turned out that it was in different schema. I got another problem though:
I tried to replicate the problem on my local database with smaller dataset and ran into problems with |
Also, I would like to talk about the first issue mentioned in your last message. I do not see how it is related to the problems you've mentioned below, do you still have issues with that? If yes, please notify me so we could resolve this together |
I agree that making the project more flexible in terms of schema would be a great improvement. I've already implemented an option to specify the desired schema during data import. Regarding the first error I mentioned earlier:
This issue was resolved based on your suggestion about the different schema. However, after fixing that, I encountered a new error (I still need help with that):
This occurred on a remote database. When I tried replicating the issue locally, I encountered the errors I mentioned earlier. While these additional errors don't seem directly connected to the main issue (as far as I can tell), I thought it was worth noting since they appeared during my debugging process. |
@domupls, I cannot come up with the straightforward solution, I would need to look at the flow you use, which raised this issue, dataset also could be the factor. Do you wanna discuss it personally? |
@zlochina and I resolved the issue by identifying that some nodes were no longer being imported due to changes in |
According to REAME.md, if importing was done with pipeline.lua style file, we should run install_sql.py afterwards.
However, I'm getting this error:
There are indeed missing tables. Can someone answer, whether they should be present in DB or not?
The text was updated successfully, but these errors were encountered: