Skip to content

feat: impl table & database pushdown scan for system.indexes#18191

Merged
sundy-li merged 7 commits intodatabendlabs:mainfrom
KKould:feat/indexes_filter_database_table
Jun 23, 2025
Merged

feat: impl table & database pushdown scan for system.indexes#18191
sundy-li merged 7 commits intodatabendlabs:mainfrom
KKould:feat/indexes_filter_database_table

Conversation

@KKould
Copy link
Copy Markdown
Member

@KKould KKould commented Jun 19, 2025

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

This pr does not directly implement SHOW INDEXES FROM <table_name>, but refers to postgresql: add database & table to the system.indexes table for where filtering

e.g. select name, type, database, table from system.indexes where database = 'test_show_indexes_0' and table = 't1';

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions Bot added the pr-feature this PR introduces a new feature to the codebase label Jun 19, 2025
@KKould KKould force-pushed the feat/indexes_filter_database_table branch from 7e6ee9a to 2594804 Compare June 19, 2025 03:33
@KKould KKould changed the title feat: impl table & 'database' pushdown scan for system.indexes feat: impl table & 'database· pushdown scan for system.indexes Jun 19, 2025
@KKould KKould changed the title feat: impl table & 'database· pushdown scan for system.indexes feat: impl table & database pushdown scan for system.indexes Jun 19, 2025
@KKould KKould marked this pull request as ready for review June 19, 2025 09:59
@KKould KKould force-pushed the feat/indexes_filter_database_table branch from 708e7f7 to 937a452 Compare June 19, 2025 09:59
@b41sh b41sh requested a review from TCeason June 19, 2025 14:41
Comment thread src/query/storages/system/src/indexes_table.rs Outdated
@KKould KKould force-pushed the feat/indexes_filter_database_table branch from 7aac6a6 to a3ec3c1 Compare June 20, 2025 01:27
@KKould KKould force-pushed the feat/indexes_filter_database_table branch from a3ec3c1 to 99f88df Compare June 20, 2025 09:44
@KKould KKould requested a review from TCeason June 20, 2025 10:37
@sundy-li sundy-li merged commit cefbc5e into databendlabs:main Jun 23, 2025
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Show Index From <table_name>

3 participants