Skip to content

rm3l/docker-parquet-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-parquet-tools

Docker Build Workflow

Docker Stars Docker Pulls

License

Motivations

At this time, using the Apache Parquet Tools CLI requires either:

  • downloading a pre-built JAR file from a public Maven repository. But, as far as I know, only the Hadoop mode is built, which means that the Hadoop client dependency is not included in the JAR;
  • or building it manually, for example if you need a version not released yet. Building it however requires few operations and dependencies that can easily fit into a Dockerfile, so as to be reusable elsewhere.

This repository provides a quite simple public Docker image that builds the Apache Parquet Tools CLI for both Local and Hadoop modes. In the end, the Docker image allows to use the CLI in a quite straightfoward manner.

Example Usage

docker container run -v /tmp/data:/data --rm -t rm3l/parquet-tools:latest schema /data/<myFile>.parquet

Developed by

License

The MIT License (MIT)

Copyright (c) 2020 Armel Soro

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Releases

No releases published

Packages