Commit f9575d5
Exact Cardinality Count extension (#18021)
* Add Bitmap64 extension
* Update max intermediate size
* Changes to Bitmap64 after build
* Replace cardinality count name
* Unit tests for bitmap64
* Unit tests for bitmap aggregator
* tidy up for tests and Counter
* Fix checkstyle
* Tidy README
* Tidy review suggestions
* Fix checkstyle
* Clean up dependencies in pom file
* Docs for extension
* Fix Spelling check
* Add wikipedia datasource walkthrough
* Add SQL Test
Revert "Add wikipedia datasource walkthrough"
This reverts commit 83dfef9.
Revert "Add SQL Test"
This reverts commit e81a0fdc2f07b71958bc32734abe16bacbac920d.
* Fix Cannot find class error
* Fix Assert cannot be found
* Fix test case
* Fix SqlAggregator test cases
* Fix checkstyle
* Fix registerSerde problem
* Add JavaDocs for interface
* Fix null check not passing
* Add dockerfiles for DruidExactCardinalityIT
* Add integration tests for Druid Exact Cardinality
* Checkstyle
* Change groupId to contrib
* Change docker file to keep things running
* Set fullDatasourceName after initialization to prevent NPE with config
* Fix adding contrib pom changes to distribution/pom.xml
* Setup IT for contrib packages
* Add DruidExactCardinality into IT
* Add case to check cardinality ignores duplicates
* Add case to check cardinality works on rolled-up columns:
* Fix fullDatasourceName can be a local variable
* Bitmap64 exactcount update
* Add ExactCount extension into github actions
* Fix resources/cluster docker file
* Add additional line to eof
* Change docs to specify columns
* Eliminate unnecessary byte array copying
* Change Bitmap64 function to filter out numeric types
* Prevent copying of array in Output stream
* Fix checkstyle
* Fix UnsupportedOperationException
* Fix SQL type allowable
* Remove unnecessary build config
* Add unit test for String Column
* Type checking for String in ExactCount
* Implement unit tests to confirm String column check
* Update difference between exact count + distinct count
* Fix spelling mistake
* Address review feedback P1 - Rework ExposedByteArrayOutputStream
* Address unclear exception message when decoding using base64
* Comments for 1KiB max intermediate size
* Allow Bitmap64 to take directly from data input
* Use underlying byte array
* Checkstyle
* Fix array writing
* Rename to druid-bitmap-exact-count
* Missing rename
* Update to snapshot 35
* Renamed to druid-exact-count-bitmap
* Druid exact count bitmap
---------
Co-authored-by: Phua Guan Wei <[email protected]>1 parent 7023b45 commit f9575d5
File tree
47 files changed
+4614
-4
lines changed- .github/workflows
- distribution
- docs
- configuration
- development/extensions-contrib
- extensions-contrib/druid-exact-count-bitmap
- src
- main
- java/org/apache/druid/query/aggregation/exact/count/bitmap64
- sql
- resources/META-INF/services
- test/java/org/apache/druid/query/aggregation/exact/count/bitmap64
- sql
- integration-tests-ex/cases
- cluster/DruidExactCountBitmap
- src/test
- java/org/apache/druid/testsEx
- DruidExactCountBitmap
- categories
- resources
- cluster/DruidExactCountBitmap
- druid-exact-count-bitmap
- processing/src/main/java/org/apache/druid/query/aggregation
- post
- website
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+4614
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
| 465 | + | |
| 466 | + | |
465 | 467 | | |
466 | 468 | | |
467 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
0 commit comments