[
https://issues.apache.org/jira/browse/BEAM-12393?focusedWorklogId=666422&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-666422
]
ASF GitHub Bot logged work on BEAM-12393:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Oct/21 17:06
Start Date: 18/Oct/21 17:06
Worklog Time Spent: 10m
Work Description: apilloud commented on pull request #15728:
URL: https://github.com/apache/beam/pull/15728#issuecomment-945980944
Run Java PreCommit
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 666422)
Time Spent: 50m (was: 40m)
> Beam SQL support for HLL count
> ------------------------------
>
> Key: BEAM-12393
> URL: https://issues.apache.org/jira/browse/BEAM-12393
> Project: Beam
> Issue Type: New Feature
> Components: dsl-sql, extensions-java-sketching
> Reporter: Brachi Packter
> Priority: P3
> Time Spent: 50m
> Remaining Estimate: 0h
>
> There is support for HLL sketch in Ptransform:
>
> {code:java}
> p.apply("Int", Create.of(ints)).apply("IntHLL",
> ApproximateCountDistinct.globally()
> .withPercision(PRECISION));{code}
>
> or
>
> {code:java}
> PCollection<KV<Integer, Long>> result =
> p.apply("Long", Create.of(longs)).apply("LongHLL",
> ApproximateCountDistinct.perKey());
>
> {code}
> But, no support for beam sql.
> We can't initiate it to be used in SqlTransform (even the combiner:
> HllCountMergePartialFn exists)
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)