Skip to content

[core] Show centroid file roles in table_indexes - #11516

Open
QuakeWang wants to merge 1 commit into
apache:masterfrom
QuakeWang:centroid-file-roles
Open

QuakeWang wants to merge 1 commit into
apache:masterfrom
QuakeWang:centroid-file-roles

Conversation

@QuakeWang

Copy link
Copy Markdown
Member

Purpose

$table_indexes repeats the full index field list for every Centroid file, so users cannot identify a column's Bitmap files or measure their size by partition.

Add index_file_role and bitmap_field_name to the Java system table while preserving index_field_name. Legacy Bitmap files report the bitmap role with a NULL field name.

Tests

  • 25 Spark 3 tests and 6 Java Core tests passed, covering partition-level file sizes and legacy Bitmap metadata.
  • Spotless, Checkstyle, and the documentation build passed.

$table_indexes repeats the full index definition on each centroid file
row, so users cannot identify Bitmap files for a scalar field or measure
their size by partition.

Expose the centroid file role and Bitmap field name while preserving
the existing index definition columns.

Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
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.

1 participant