Skip to content
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

[core] Support to query indexes #4788

Merged
merged 2 commits into from
Dec 27, 2024
Merged

Conversation

yuzelin
Copy link
Contributor

@yuzelin yuzelin commented Dec 26, 2024

Purpose

Provide a convienient way to query index files

Tests

API and Format

Documentation

(index_type = DELETION_VECTORS) through indexes table.

```sql
SELECT * FROM my_table$indexes;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my_table$table_indexes

import static org.apache.paimon.catalog.Catalog.SYSTEM_TABLE_SPLITTER;
import static org.apache.paimon.utils.SerializationUtils.newStringType;

/** A {@link Table} for showing committing snapshots of table. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments not right? showing indexes of table

@wwj6591812
Copy link
Contributor

+1

1 similar comment
@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit ba45766 into apache:master Dec 27, 2024
13 checks passed
JingsongLi pushed a commit that referenced this pull request Dec 30, 2024
@yuzelin yuzelin deleted the indexes_table branch December 30, 2024 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants