Add Parquet file viewer with tree explorer and table view#6
Merged
bluestreak01 merged 2 commits intomasterfrom Mar 26, 2026
Merged
Add Parquet file viewer with tree explorer and table view#6bluestreak01 merged 2 commits intomasterfrom
bluestreak01 merged 2 commits intomasterfrom
Conversation
Adds a custom parquet viewer using QuestDB's fork of the parquet2 library. Opening a .parquet file launches the viewer instead of the hex/text viewer. Tree view (default): hierarchical metadata explorer showing file info, key-value metadata, schema with physical/logical types, row groups with column details (compression, sizes), and inline data previews. Table view (Tab to switch): full-screen columnar data browser with horizontal scrolling and lazy row group loading. Supports PLAIN and RLE_DICTIONARY encoding, definition levels for nullable columns, and logical type formatting (Date, Timestamp, Decimal, String, UUID). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…de, resolve clippy warnings - decode_column now takes &mut File instead of opening the file per column call - Extract decode_row_group_columns() and transpose_columns() to eliminate duplication - Introduce TableStyles struct to reduce function argument count - Fix clippy: map_or→is_some_and, iterator loops, needless indexing Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
parquet2libraryNew files
src/parquet_viewer.rssrc/ui/parquet_view.rsIntegration
.parquetfiles are auto-detected inopen_fileand routed to the parquet viewerAppMode::ParquetViewingadded with full keyboard/mouse/goto-line supportTest plan
.parquetfile — should show tree view with metadata🤖 Generated with Claude Code