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

Makes the gem fully workable to deploy with actual structure of FIAS database #20

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

bulychev-ay
Copy link
Contributor

  1. Correlates tables and DBF-files from the FIAS database archive
  2. Helps to set uuid-type to the right columns in the database
  3. Prevents to import from empty DBF-file

2. Helps to set uuid-type to the right columns in the database
3. Prevents to import from empty DBF-file
@bulychev-ay
Copy link
Contributor Author

Please fix the project so that it can be successfully tested in Travis CI.
And please accept my pull request otherwise gem can not work at all.

[email protected] and others added 28 commits August 10, 2017 18:48
…from list of tables, ordered in constant TABLE in lib/fias/import/dbf.rb
add description note to current version of the gem
Изменяет вызов метода schema_definition вследствие изменеий в геме dbf
Now possible handle all update files by portions to avoid overflowing RAM (variable portion_size in code)
@param HOME_REGION [String/Fixnum] double digits region code, helps to set sorting for importing tables so you can use database in desired region after 1 hour since start importing.
@param FILES_PORTION sets portion of files handling by iteration. That provide to deploy full database on computers with RAM lower than 25GB (deploying database in one piece requiring up to 25 GB  RAM and growing in time with increasing data in full database). Default value sets on 17 - that number of dictionary tables and address tables for home region.
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.

None yet

2 participants