-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get type and value checks working on SQLite load
* Added an explicit dtype dictionary in the SQLite load call to df.to_sql() that pulls the column types from the SQLAlchemy metadata object we've just used to create the database, so they should always line up. * Turned on check_types and check_values in the integration tests. Other minor stuff: * Omitted deprecated datapackage modules from the test coverage reporting. * Replaced instances of in-place list.sort() with sorted(list) in a few places, since it's idiomatically more similar to what we're used to with dataframes, and I've been bitten several times by in-place sorting returning None when I didn't expect it. Closes: #1197
- Loading branch information
1 parent
578ac85
commit 50c2d53
Showing
6 changed files
with
16 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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