Skip to content

Conversation

@emiliom
Copy link
Member

@emiliom emiliom commented Apr 16, 2019

@emiliom
Copy link
Member Author

emiliom commented Apr 16, 2019

@aufdenkampe and @horsburgh This PR fixes the SQLite regression bug described in #158.

I usually prefer to have someone else review changes; let me know if you can do it this week, otherwise I'll go ahead and merge on Friday (we'll see also how the CI checks do -- they should be fine). FYI, this PR involves a change to just one line.

This is one of the two must-do elements in my targets for the new release (#165).

Fixed a set of 40 TimeSeriesResultValues insert statements in the populated.sql test SQLite database creation file, where the datetimes where only specified as dates, not datetimes. That was leading to the use of a non-datetime field type. Also changed odm2api module path calls in test_odm2/test_readservice.py to remove deprecated use of ODM2 module hierarchy.
@emiliom
Copy link
Member Author

emiliom commented Apr 20, 2019

Closing. Discovered that bug was related to messy (bad) datetime strings in the tests/test_odm2/data/populated.sql test SQLite database ddl. Fixing that file, then submitting new PR.

@emiliom emiliom closed this Apr 20, 2019
@emiliom emiliom deleted the bugfix_sqlitets branch April 20, 2019 20:44
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.

1 participant