Can you use the approximate count distinct?
On Sun, Nov 20, 2016 at 11:51 PM, Xinyu Zhang wrote:
>
> MapWithState is also very useful.
> I want to calculate UV in real time, but "distinct count" and "multiple
> streaming aggregations" are not supported.
> Is there any method to calculate real-t
Doing this generally is pretty hard. We will likely support algebraic
aggregate eventually, but this is not currently slotted for 2.2. Instead I
think we will add something like mapWithState that lets users compute
arbitrary stateful things. What is your use case?
On Wed, Nov 16, 2016 at 6:58