A terminal-based Parquet file viewer with SQL query support built in Rust.
- Parquet Metadata Viewing: View file metadata including row count, row groups, and columns
- SQL Query Support: Query Parquet files using SQL via DuckDB
- Interactive TUI: Terminal-based user interface with keyboard navigation
- Multi-platform: Builds for Linux, macOS, and Windows
cargo install parquet-viewergit clone https://github.com/Whoeason-que/parquet-viewer.git
cd parquet-viewer
cargo install --path .Run the viewer:
parquet-viewerOr with a file:
parquet-viewer /path/to/file.parquetTab- Switch focus between File Path, SQL input, and Results tableEnter- Load file / Execute SQL queryCtrl+E- Toggle SQL input between single-line and expanded modeEsc- Quitj/kor↑/↓- Navigate result table (when focused)Home/End- Jump to start/end of input or table
- Enter the path to a Parquet file
- Press Enter to load the file
- The default SQL query
SELECT * FROM my_table LIMIT 100will execute - Modify the SQL query as needed and press Enter to execute
- Use Tab to navigate between sections
- Rust 2024 edition
- ratatui - Terminal UI framework
- crossterm - Cross-platform terminal manipulation
- parquet - Apache Parquet format support
- arrow - Arrow columnar format
- duckdb - In-process SQL database
MIT License - see LICENSE file for details
Contributions are welcome! Please feel free to submit a Pull Request.