IntelliJ Avro and Parquet Viewer Plugin
Overview
A Tool Window plugin for IntelliJ that displays Avro and Parquet files and their schemas in JSON.
Features include:
- Simple drag-and-drop interface
- Tablulated and JSON viewing of records
- Column sorting in table view
- Foldable schema viewing (RSyntaxTextArea)
- Flattening of nested records in table view (json-flattener)
- Configurable number of records to display
- Automatic support for IntelliJ's light and Darcula themes
- Compatible with all IntelliJ-based products (including PyCharm and Android Studio)
Installing
Available on the IntelliJ Plugin Marketplace. Search "Avro and Parquet Viewer" in IntelliJ's Plugins window. Once installed, it will appear as a Tool Window (normally at the bottom of IntelliJ next to Run
, Debug
, Version Control
etc.).
Demo
Gallery
Table view:
Raw view:
Schema view:
Bug Reports, Feature Requests and Contributions
Raise a PR or Issue.
Building Locally
This project can be built locally and manually installed in IntelliJ. To do this:
- Build the project with
gradlew buildPlugin
,
- Navigate to
Settings -> Plugins -> Install Plugin From Disk...
and point to the zip in build/distributions
.
Release Process
To release a new version of the plugin (where x.y.z
corresponds to the version in gradle.properties::pluginVersion
):
- Create a
release/x.y.z
branch,
- Update
changeNotes
in gradle.properties
,
- Merge the branch into
master
,
- Create and push a tag:
git tag -a vx.y.z -m "Create release tag vx.y.z"
git push origin --tags
- When the tag is pushed, the "Create Release" GitHub Action will automatically run and do the following:
- Create a Release in GitHub,
- Build and upload the plugin zip to GitHub Releases,
- Increment the project version and commit the new version to
gradle.properties
and plugin.xml
in master
.
- Upload the zip to the IntelliJ Marketplace (currently only @benwatson528 has credentials).
License
https://www.apache.org/licenses/LICENSE-2.0