Approximation/Function Call Notation and Style #48
davidkohn88
started this conversation in
Crosscutting issues
Replies: 2 comments 2 replies
-
As a comment in general, operators require functions which have names - so even if the pipeline notation is the one that looks cleanest, the functions do need to be named. I'm looking at the functions in
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Agreed on |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's a general question that would be great to try and figure out:
Since it's looking like we could have a number of sketches and other data structures that can be used to perform approximations, how should we note the fact that you get approximate results out? prepending or appending
approx_
to the function call seems like what we've sort of assumed, but I'm not sure if I like it.for instance:
What about using our pipeline notation in #26? Or are there other operators that would make more sense?
One thing to note is that things like tdigest can also compute exact values, for instance, you can get a count directly out of a tdigest without having to store a separate count and it is an exact count, with count, or things where there are overloaded functions need some way of being distinguished. (Obviously most of these make more sense in the continuous aggregate context than in the normal query context where it would clearly be simpler to just do the count).
Thoughts on what styles people prefer?
Beta Was this translation helpful? Give feedback.
All reactions