forked from apache/datafusion
-
Notifications
You must be signed in to change notification settings - Fork 2
StatisticsV2: statistics framework initial redesign for Datafusion #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 45 commits
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
b4e8668
StatisticsV2: initial definition and validation method implementation
992b3c0
Implement mean, median and standard deviation extraction for StatsV2
Fly-Style e1d9395
Move stats_v2 to `physical-expr` package
Fly-Style 1e27828
Introduce `ExprStatisticGraph` and `ExprStatisticGraphNode`
Fly-Style 674926f
Split the StatisticsV2 and statistics graph locations, prepare the in…
Fly-Style 943b5f1
Merge branch 'apache_main' into feat/statistics_v2
Fly-Style 45f151e
Calculate variance instead of std_dev
Fly-Style 7329c03
Create a skeleton for statistics bottom-up evaluation
Fly-Style bf6d01c
Introduce high-level test for 'evaluate_statistics()'
Fly-Style add838c
Refactor result distribution computation during the statistics evalua…
Fly-Style d52af46
Always produce Unknown distribution in non-mentioned combination case…
Fly-Style 81b756d
Introduce Bernoulli distribution to be used as result of comparisons …
Fly-Style a35440b
Implement initial statistics propagation of Uniform and Unknown distr…
Fly-Style 518d56c
Implement evaluate_statistics for logical not and unary negation oper…
Fly-Style a1bbfce
Fix and add tests; make fmt happy
Fly-Style d9c2d83
Add integration test, implement conversion into Bernoulli distributio…
Fly-Style c3df2a6
Finish test, small cleanup
Fly-Style a00e382
minor improvements
berkaysynnada 6245218
Update stats.rs
berkaysynnada b8068b8
Addressing review comments
Fly-Style 140fb5e
Implement median colmputation for Gaussian-Gaussian pair
Fly-Style 5630ff9
Update stats_v2.rs
berkaysynnada c3b96ed
minor improvements
berkaysynnada f4dd402
Addressing second review comments, part 1
Fly-Style eac21f1
Return true in other cases
Fly-Style 10e187f
Finish addressing review requrests, part 2
Fly-Style ee4f7ab
final clean-up
berkaysynnada 4f190b8
bug fix
berkaysynnada 9d8baa5
final clean-up
berkaysynnada 1523ffc
apply reverse logic in stats framework as well
berkaysynnada d78b19d
Merge branch 'feat/statistics_v2' of https://github.com/Fly-Style/dat…
berkaysynnada f78bb22
Update cp_solver.rs
berkaysynnada 29db57f
revert data.parquet
berkaysynnada be61480
Apply suggestions from code review
ozankabak 2d108e3
Update datafusion/physical-expr-common/src/stats_v2.rs
ozankabak e6e35e9
Update datafusion/physical-expr-common/src/stats_v2.rs
ozankabak 19903c3
Apply suggestions from code review
ozankabak ea94aae
Merge branch 'apache_main' into feat/statistics_v2
Fly-Style 3c6f44b
Fix compilation issue
Fly-Style 6305ebf
Fix mean/median formula for exponential distribution
Fly-Style ef87360
casting + exp dir + remove opt's + is_valid refractor
berkaysynnada 7baa86f
Update stats_v2_graph.rs
berkaysynnada 8b82289
remove inner mod
berkaysynnada 889376e
last todo: bernoulli propagation
berkaysynnada 243fad8
Apply suggestions from code review
ozankabak cf965a4
Apply suggestions from code review
ozankabak 48f2b5e
prop_stats in binary
berkaysynnada 8fddaba
Update binary.rs
berkaysynnada a18b0dd
rename intervals
berkaysynnada bc4f7d4
block explicit construction
berkaysynnada 97f0408
test updates
berkaysynnada 22ea336
Update binary.rs
berkaysynnada 77b8f20
revert renaming
berkaysynnada 7dca5ee
impl range methods as well
berkaysynnada bcf2752
Apply suggestions from code review
ozankabak d390227
Apply suggestions from code review
ozankabak 9f54e94
Update datafusion/physical-expr-common/src/stats_v2.rs
ozankabak b769daf
Update stats_v2.rs
berkaysynnada aebe139
fmt
berkaysynnada 7d7dd92
fix bernoulli or eval
berkaysynnada 6b6ce31
fmt
berkaysynnada 42804c9
Review
ozankabak 65cdc05
Review Part 2
ozankabak 9b2a115
not propagate
berkaysynnada a8e0274
clean-up
berkaysynnada ba8126b
Review Part 3
ozankabak 4f95d27
Review Part 4
ozankabak c75c782
Review Part 5
ozankabak 7ebf43e
Review Part 6
ozankabak bab97d8
Review Part 7
ozankabak 818eba4
Review Part 8
ozankabak da2ce64
Review Part 9
ozankabak 0cc8a2d
Review Part 10
ozankabak eee36de
Review Part 11
ozankabak 07a070f
Review Part 12
ozankabak 320aeb6
Review Part 13
ozankabak 9d2a6f3
Review Part 14
ozankabak 712d936
Review Part 15 | Fix equality comparisons between uniform distributions
ozankabak 2163c76
Review Part 16 | Remove unnecessary temporary file
ozankabak c23974e
Review Part 17 | Leave TODOs for real-valued summary statistics
ozankabak fee3023
Review Part 18
ozankabak 2566c91
Review Part 19 | Fix variance calculations
ozankabak 195cd50
Review Part 20 | Fix range calculations
ozankabak d753eeb
Review Part 21
ozankabak b081ea4
Review Part 22
ozankabak f8cade9
Review Part 23
ozankabak 44b6b64
Review Part 24 | Add default implementations for evaluate_statistics …
ozankabak 54030b8
Review Part 25 | Improve docs, refactor statistics graph code
ozankabak 940adbc
Review Part 26
ozankabak ad2c518
Review Part 27
ozankabak 081e3f3
Review Part 28 | Remove get_zero/get_one, simplify propagation in sta…
ozankabak 6d0e9e3
Review Part 29
ozankabak 6854c68
Review Part 30 | Move statistics-combining functions to core module, …
ozankabak 3192eef
Review Part 31
ozankabak 47dc8f7
Review Part 32 | Module reorganization
ozankabak d5741cd
Review Part 33
ozankabak cc99a9d
Add tests for bernoulli and gaussians combination
Fly-Style 82ed8e0
Fix CI job test-datafusion-pyarrow (#14790)
Owen-CH-Leung 139b5b5
Use `doc_auto_cfg`, logo and favicon for docs.rs (#14746)
mbrobbel 568a2b1
chore(deps): bump sqllogictest from 0.27.1 to 0.27.2 (#14785)
dependabot[bot] 84232d8
Add additional info about memory reservation to the doc of MemoryPool…
Kontinuation 83487e3
feat: Improve datafusion-cli memory usage and considering reserve mem…
zhuqi-lucas c92df4f
Fix CI fail for extended test (by freeing up more disk space in CI ru…
2010YOUY01 2325b6c
chore: Benchmark deps cleanup (#14793)
findepi 4d6e334
Fix test not to litter in repository (#14795)
findepi fde2239
chore(deps): bump testcontainers from 0.23.2 to 0.23.3 (#14787)
dependabot[bot] 188e0d3
chore(deps): bump serde from 1.0.217 to 1.0.218 (#14788)
dependabot[bot] b66beb8
refactor: move `DataSource` to `datafusion-datasource` (#14671)
logan-keede faace2c
Fix Clippy 1.85 warnings (#14800)
mbrobbel 9ca09cf
Allow `FileSource`-specific repartitioning (#14754)
AdamGS 3750dc9
Bump MSRV to 1.82, toolchain to 1.85 (#14811)
mbrobbel a8e1f2f
Chore/Add additional FFI unit tests (#14802)
timsaucer 22156b2
Chore/Add additional FFI unit tests (#14802)
timsaucer e03f9f6
Remove CountWildcardRule in Analyzer and move the functionality in Ex…
jayzhan211 bbc6049
fix: normalize column names in table constraints (#14794)
jonahgao 6bfeb02
fix: we are missing the unlimited case for bounded streaming when usi…
zhuqi-lucas 0bd9083
Minor: comment in Cargo.toml about MSRV (#14809)
alamb 1c54b38
Simplify `FileSource::create_file_opener`'s signature (#14798)
AdamGS c0b749d
Remove unused crate dependencies (#14827)
findepi 3c0afec
Incorporate community feedback
ozankabak aa4b02e
Merge branch 'main' into feat/statistics_v2
ozankabak 17d7a7a
Fix merge issue
ozankabak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.