aviralgarg05 opened a new pull request, #81:
URL: https://github.com/apache/datasketches-postgresql/pull/81
## Summary
Add PostgreSQL bindings for the Kolmogorov-Smirnov operations already
provided by DataSketches C++:
- `delta(sketch1, sketch2)`
- `threshold(sketch1, sketch2, p)`
- `test(sketch1, sketch2, p)`
The functions are available for KLL float, KLL double, and classic quantiles
double sketches. The SQL surface follows the scope confirmed in #73.
## Implementation
- expose the three C++ operations through each sketch family's C adapter
- add the corresponding PostgreSQL functions and SQL declarations
- cover every operation for all three sketch families
## Validation
- completed three clean builds successfully
- passed the focused SQL tests for KLL float, KLL double, and classic
quantiles sketches
- ran the repository's complete SQL test loop used by CI
- independently compared the classic quantiles results with a C++ reference:
- delta: `0.057600000000000096`
- threshold: `0.11171174715149565`
- test result: `false`
- `git diff --check` passes
Closes #73
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]