tdigest | PostgreSQL extension for estimating percentiles

 by   tvondra C Version: v1.4.0 License: Non-SPDX

kandi X-RAY | tdigest Summary

kandi X-RAY | tdigest Summary

tdigest is a C library. tdigest has no bugs, it has no vulnerabilities and it has low support. However tdigest has a Non-SPDX License. You can download it from GitHub.

PostgreSQL extension for estimating percentiles using t-digest
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tdigest has a low active ecosystem.
              It has 68 star(s) with 11 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 5 open issues and 9 have been closed. On average issues are closed in 19 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of tdigest is v1.4.0

            kandi-Quality Quality

              tdigest has 0 bugs and 0 code smells.

            kandi-Security Security

              tdigest has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              tdigest code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tdigest has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              tdigest releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tdigest
            Get all kandi verified functions for this library.

            tdigest Key Features

            No Key Features are available at this moment for tdigest.

            tdigest Examples and Code Snippets

            t-digest extension,Advanced usage
            Cdot img1Lines of Code : 37dot img1License : Non-SPDX (NOASSERTION)
            copy iconCopy
            -- table with some random source data
            CREATE TABLE t (a int, b int, c double precision);
            
            INSERT INTO t SELECT 10 * random(), 10 * random(), random()
                            FROM generate_series(1,10000000);
            
            -- table with pre-aggregated digests into table "  
            t-digest extension,Incremental updates
            Cdot img2Lines of Code : 24dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            DO LANGUAGE plpgsql $$
            DECLARE
              r record;
            BEGIN
              FOR r IN (SELECT random() AS v FROM generate_series(1,1000)) LOOP
                UPDATE t SET d = tdigest_add(d, r.v);
              END LOOP;
            END $$;
            
            DO LANGUAGE plpgsql $$
            DECLARE
              a double precision[];
            BEGIN
              SELECT   
            t-digest extension,Functions,tdigest_json(tdigest)
            Cdot img3Lines of Code : 7dot img3License : Non-SPDX (NOASSERTION)
            copy iconCopy
            SELECT tdigest_json(d) FROM (
                SELECT tdigest(t.c, 100) AS d FROM t
            ) foo;
            
            SELECT CAST(d AS json) FROM (
                SELECT tdigest(t.c, 100) AS d FROM t
            ) foo;
              

            Community Discussions

            QUESTION

            Is there a way to sort percentile aggregation by 'order' field is Elasticsearch?
            Asked 2021-Jan-05 at 09:32

            I'm trying to order sub aggregation of percentile by order field (when I run it on avg/sum aggregation it works)

            ...

            ANSWER

            Answered 2021-Jan-05 at 09:32

            The documentation contains guides on how to sort by multi-value aggregation https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#search-aggregations-bucket-terms-aggregation-order

            Ordering the buckets by multi value metrics sub-aggregation (identified by the aggregation name):

            Source https://stackoverflow.com/questions/65575789

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tdigest

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/tvondra/tdigest.git

          • CLI

            gh repo clone tvondra/tdigest

          • sshUrl

            git@github.com:tvondra/tdigest.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link