-
Notifications
You must be signed in to change notification settings - Fork 0
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
DB schema uses datetime with 1-second granularity #1
Comments
Agreed. I'd actually even like to change it to a plain long integer type. On Wed, Mar 19, 2014 at 3:15 PM, trevorcarlson [email protected]:
|
Yep, I completely agree, but there might be times when you want to log for a short high-res burst. Just an idea, nothing needed right now. :)
|
Might be worth checking out what the Conveyal folks implemented for their Android platform, since we know they did protocol buffers. I believe it's also a github project; the links can probably be found through Kevin Webb's posts on conveyal.com
|
The currently default datetime type in MySQL uses second granularity.
Expanding to sub-second granularity might allow us to re-enable checks for duplicate entries. Adding an integer parameter to the DATETIME type in the schema allows one to specify the number of digits of resolution. See (https://dev.mysql.com/doc/refman/5.7/en/fractional-seconds.html) for more details.
The text was updated successfully, but these errors were encountered: