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

Making clone_subset.py to work #353

Merged
merged 5 commits into from
Feb 14, 2025
Merged

Conversation

ntai-arxiv
Copy link
Contributor

  • clone_subset.py forces the database schema to be recreated. However, arxiv-base's db.models is not a good representation of actual database schema. For example, it does not preserve the table's character set. Constraints are not created correctly. Therefore, only way to do this right is to create schema from dumped SQL. IOW, it needs to be able to skip the schema creation because it just doesn't work.

  • Base and LaTeXMLBase sharing single metadata is plainly wrong. This was in arxiv.db's init.

@ntai-arxiv ntai-arxiv requested review from bdc34 and a team February 11, 2025 22:46
@ntai-arxiv ntai-arxiv merged commit cf910fa into develop Feb 14, 2025
1 check passed
@ntai-arxiv ntai-arxiv deleted the ntai/db-clone-subset-options branch February 14, 2025 14:49
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

Successfully merging this pull request may close these issues.

2 participants