Add dynamic settings for indexed query execution path#21522
Add dynamic settings for indexed query execution path#21522alchemist51 wants to merge 8 commits intoopensearch-project:mainfrom
Conversation
PR Reviewer Guide 🔍(Review updated until commit 636c8bf)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 636c8bf Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit e789a8c
Suggestions up to commit 9ecab74
Suggestions up to commit 252a1fc
Suggestions up to commit 83c7e3bSuggestions up to commit 0b4f76a
|
|
Persistent review updated to latest commit f8165e8 |
|
Persistent review updated to latest commit 6a6d8b3 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21522 +/- ##
============================================
+ Coverage 73.38% 73.41% +0.03%
- Complexity 74380 74429 +49
============================================
Files 5970 5970
Lines 338267 338267
Branches 48753 48753
============================================
+ Hits 248228 248346 +118
+ Misses 70237 70172 -65
+ Partials 19802 19749 -53 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| batch_size: w.batch_size as usize, | ||
| target_partitions: w.target_partitions as usize, | ||
| // 0 means "let the runtime decide" — use available CPU parallelism | ||
| target_partitions: if w.target_partitions == 0 { |
There was a problem hiding this comment.
not sure if we should do this ? this should always come as a defined value from java
418edc4 to
c65850f
Compare
|
Persistent review updated to latest commit c65850f |
|
Persistent review updated to latest commit 9398a2c |
|
❌ Gradle check result for 9398a2c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Persistent review updated to latest commit 5b1615b |
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
5b1615b to
0b4f76a
Compare
|
Persistent review updated to latest commit 0b4f76a |
| })?; | ||
|
|
||
| let query_config = crate::datafusion_query_config::DatafusionQueryConfig::default(); | ||
| let query_config = crate::datafusion_query_config::DatafusionQueryConfig::from_ffm_ptr(query_config_ptr); |
There was a problem hiding this comment.
check everywhere and replace? [ tests are okay ]
|
Persistent review updated to latest commit 83c7e3b |
| .build() | ||
| .unwrap(); | ||
| let df_runtime = DataFusionRuntime { runtime_env }; | ||
| let df_runtime = DataFusionRuntime::new_for_bench(runtime_env); |
|
Persistent review updated to latest commit 252a1fc |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 636c8bf.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
|
Persistent review updated to latest commit 9ecab74 |
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
7e9e6c2 to
e789a8c
Compare
|
Persistent review updated to latest commit e789a8c |
|
Persistent review updated to latest commit 636c8bf |
Description
PUT _cluster/settingswith no node restartWireConfigSnapshot(volatile field, rebuilt atomically on change) so the query hot path pays only a single volatile read — no ClusterService lookup per query#[repr(C)]struct and passed to the Rust runtime via FFM[Describe what this change achieves]
Related Issues
Resolves #21536
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.