Giter Site home page Giter Site logo

contactsunny / parquet_file_writer_poc Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 7.0 6 KB

This is a simple Java POC to create Parquet files This is a Spring Boot project.

Java 100.00%
java java-8 apache apache-parquet parquet parquet-generator parquet-format parquet-tools parquet-java spring-boot

parquet_file_writer_poc's People

Contributors

contactsunny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

parquet_file_writer_poc's Issues

no native lib Mac

The build failed on Mac with:
org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Mac and os.arch=aarch64

This is solved by upgrading parquet-hadoop to 1.13.0

It could also be good to add to the readme that settings in the application.properties needs to be filled in or better yet set them to the relative path:

schema.filePath=src/main/resources/schemas/user.schema
output.directoryPath=src/main/resources/output

After those two changes it worked fine on Mac.

Not able to execute the project

Encountered below error:
Action:

Correct the classpath of your application so that it contains a single, compatible version of org.springframework.expression.spel.support.StandardTypeConverter

Issues with Binary data type

Rest all is working fine, but binary data type is written in encrypted format. When a parquet file is cat using parquet-tools, it shows something like this.

  • /Desktop/parq/Parquet_File_Writer_POC/src/main/resources/output$ parquet-tools cat 1638791144218.parquet
    id = 1
    username = TmFtZTE=
    active = true

id = 2
username = TmFtZTI=
active = false

because of this my files are not processed further

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.