Makes the gem fully workable to deploy with actual structure of FIAS database#20
Open
bulychev-ay wants to merge 34 commits intoevilmartians:masterfrom
Open
Makes the gem fully workable to deploy with actual structure of FIAS database#20bulychev-ay wants to merge 34 commits intoevilmartians:masterfrom
bulychev-ay wants to merge 34 commits intoevilmartians:masterfrom
Conversation
Contributor
bulychev-ay
commented
Aug 4, 2017
- Correlates tables and DBF-files from the FIAS database archive
- Helps to set uuid-type to the right columns in the database
- 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
Contributor
Author
|
Please fix the project so that it can be successfully tested in Travis CI. |
…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
Revert "merge"
Revert "Revert "merge""
…asAddressObjectType.
…но модели FiasAddressObjectType.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.