Skip to content

fix: show_index command output had incorrect order of column names#14113

Merged
nsivabalan merged 1 commit intoapache:masterfrom
linliu-code:fix_show_index
Oct 17, 2025
Merged

fix: show_index command output had incorrect order of column names#14113
nsivabalan merged 1 commit intoapache:masterfrom
linliu-code:fix_show_index

Conversation

@linliu-code
Copy link
Collaborator

@linliu-code linliu-code commented Oct 17, 2025

Describe the issue this Pull Request addresses

Before the fix:

scala> spark.sql(s"SHOW INDEXES FROM hudi_indexed_table").show(false);

index_name col_name index_type
column_stats column_stats
partition_stats partition_stats
expr_index_idx_bloom_driver bloom_filters driver

Summary and Changelog

After fix:

scala> spark.sql(s"SHOW INDEXES FROM hudi_indexed_table").show(false);

index_name index_type col_name
column_stats column_stats
partition_stats partition_stats
expr_index_idx_bloom_driver bloom_filters driver

Impact

Fix a minor bug.

Risk Level

None.

Documentation Update

Contributor's checklist

  • Read through contributor's guide
  • Enough context is provided in the sections above
  • Adequate tests were added if applicable

@linliu-code linliu-code marked this pull request as ready for review October 17, 2025 12:22
@github-actions github-actions bot added the size:XS PR with lines of changes in <= 10 label Oct 17, 2025
@linliu-code
Copy link
Collaborator Author

Will fix the CI, or fix order of the header instead.

@linliu-code linliu-code changed the title fix: show_index command has incorrect column order fix: show_index command had incorrect column name order Oct 17, 2025
@hudi-bot
Copy link
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@nsivabalan
Copy link
Contributor

github actions failed due to related failure.

@nsivabalan nsivabalan merged commit c0d77ff into apache:master Oct 17, 2025
136 of 141 checks passed
@linliu-code linliu-code changed the title fix: show_index command had incorrect column name order fix: show_index command had incorrect order of column names Oct 17, 2025
@linliu-code linliu-code changed the title fix: show_index command had incorrect order of column names fix: show_index command output had incorrect order of column names Oct 17, 2025
yihua pushed a commit that referenced this pull request Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS PR with lines of changes in <= 10

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants