apurtell opened a new pull request, #2505: URL: https://github.com/apache/phoenix/pull/2505
Per-scan `INDEX <name> [<kind>]`, `SALT BUCKETS <n>`, `REGIONS PLANNED <n>`. `ExplainTable.explain(...)` emits `INDEX` before `ROW TIMESTAMP FILTER` (name from `tableRef.getTable().getName()`. Local indexes print just `<idx>`), with a `<kind>` token (`LOCAL` / `GLOBAL` / `UNCOVERED GLOBAL`) when the target is an `INDEX`, `SALT BUCKETS` when `getBucketNum()` is set, and `REGIONS PLANNED` from the split count. Adds `getSplitCount()` to `BaseResultIterators` and `indexName`, `indexKind`, `saltBuckets`, `regionsPlanned` to `ExplainPlanAttributes`. Co-authored-by: Claude Opus 4.8[1m] <[email protected]> -- 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]
