Repository navigation
Fix analytics routing for aliases and wildcard index expressions - #5917
KarstenSchnitter wants to merge 1 commit into
Conversation
Resolve aliases, wildcards, comma-separated sources, and data streams to concrete indices before checking their storage format. Route to the analytics engine only when the non-empty resolution contains exclusively composite indices. Keep mixed, missing, and failed resolutions on the default SQL/PPL path. Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (75.38%) is below the target coverage (99.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #5917 +/- ##
=========================================
Coverage 75.38% 75.38%
Complexity 10383 10383
=========================================
Files 962 962
Lines 41079 41079
Branches 4679 4679
=========================================
Hits 30969 30969
Misses 8804 8804
Partials 1306 1306
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
Fixes per-index analytics-engine routing for non-concrete index expressions.
Related Issues
Testing
./gradlew :opensearch-sql-plugin:spotlessCheck :opensearch-sql-plugin:test --tests org.opensearch.sql.plugin.rest.RestUnifiedQueryActionTest
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.