You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/09/20 09:51:01 UTC

[GitHub] [pinot] patelprateek opened a new issue, #9437: auto sharding strategy for theta sketch

patelprateek opened a new issue, #9437:
URL: https://github.com/apache/pinot/issues/9437

   I was going through the pr : https://github.com/apache/pinot/pull/5316
   Can you please point me to how or where is this implemented. How do we define high cardinality threshold 
   
   I am running into issues where different sets can be different cardinality and error is high and wanted insights on how to tune theta params during my indexing phase . what is a reasonable theta threshold to decide high cardinality 


-- 
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: commits-unsubscribe@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] Jackie-Jiang commented on issue #9437: auto sharding strategy for theta sketch

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #9437:
URL: https://github.com/apache/pinot/issues/9437#issuecomment-1256553929

   The implementation for this support is in the `DistinctCountThetaSketchAggregationFunction` class.
   With the current implementation, we don't shard the set. I think this can be a good optimization, and we need some research to decide a cardinality threshold to shard the set. We can also consider providing this threshold as a parameter to the function.
   Do you want to help contribute this feature?


-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] Jackie-Jiang commented on issue #9437: auto sharding strategy for theta sketch

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #9437:
URL: https://github.com/apache/pinot/issues/9437#issuecomment-1254176147

   Here is the doc for the function: https://docs.pinot.apache.org/configuration-reference/functions/distinctcountthetasketch
   You may also learn more about theta sketch here: https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
   
   There is one parameter that can be passed in the function: `nominalEntries`. By default it is set to 4096, and you may try a higher value to get better accuracy (performance will be worse)


-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] patelprateek commented on issue #9437: auto sharding strategy for theta sketch

Posted by GitBox <gi...@apache.org>.
patelprateek commented on issue #9437:
URL: https://github.com/apache/pinot/issues/9437#issuecomment-1254327963

   May be my question wasn't clear. I understand what theta sketches are , but trying to understand how you build auto sharding for some high cardinality segments when constructing theta sketch , what is considered high cardinality , what thresholds ?
   IIUC intersection(theta_sketch(a) , theta_sketch(b)) can have high error rate when jaccard similarity is low or difference between cardinality of A and B sets are big , so you also shard the bigger set to have size smaller . Trying to understand better on how is this sharding implemented 


-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org