Comments (4)
While work is being done with nanosecond-level precision, it might be beneficial to have a workaround to bridge the gap between tick and nano precision.
After some testing and unsuccessful attempts using ulong and DateTime I'm fairly certain the best way to tackle this gap is to add a secondary integer value bounded between 0-99 to account for the last two digits of nanosecond precision.
Every other attempt I made to have everything managed by a single property either ran into the MaxValue limit of ulong around year 583 or involved System.Numerics.BigInteger. The latter is doable but uncommon enough that it might not be intuitive for most users.
from influxdata.net.
Will do. :) There was a PR for this, but it introduced unnecessary new classes (duplicates with 2 appended at the end) so I need to rework this and can push it to a new nuget then.
from influxdata.net.
Would you consider taking a dependency on Noda Time? You could make use of the Instant class throughout this library. Might make things easier in the long run.
from influxdata.net.
I think I prefer what @jschmidtWK proposed. Introducing NodaTime (although I love it personally) would introduce kinda big-ish breaking changes for many people and I actually want to keep the number of 3rd party dependencies to a minimum.
from influxdata.net.
Related Issues (20)
- Has this client been tested on downlevel revisions of .NET framework? HOT 3
- " in string fields are not working HOT 3
- GetSeries fails on measurements containing a dot HOT 4
- Select query somtimes returns "BadRequest" HOT 1
- receiving error on writing HOT 2
- silently hanging HOT 5
- System.Net.Http wrong version. HOT 7
- [Question] WriteAsync default behaviour HOT 7
- BatchWriter flushing? HOT 3
- Strong naming HOT 6
- Adding a float whole number into InfluxData.Net as field throws exception assuming it is an integer. HOT 1
- Why not support .net 4.5.2 ? HOT 3
- Use UTC DateTimes
- gzip compression HOT 2
- Need Help: Unable to read data from the transport connection: The connection was closed.
- HTTP errors are handled inconsistently HOT 1
- Is InfluxData.Net still being maintained? HOT 6
- dll version is not suitable, and no strong name
- Support convert enum type value in InfluxData.Net.InfluxDb.Helpers.SerieExtensions.As<T>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from influxdata.net.