Giter Club home page Giter Club logo

Comments (4)

sbrandtb avatar sbrandtb commented on June 9, 2024 1

Tried it, works. Thank you 😄 (https://hub.docker.com/r/fridevbi/parquet-tools-docker)

from parquet-tools.

ktrueda avatar ktrueda commented on June 9, 2024

Thank you for making issue.

It's 0610bda .
In that time I need to check all metadata that parquet file has. So I decided to use thrift in inspection instead of pyarrow.

But your idea is very important for me.
How about below

parquet-tools inspect --simple

############ Column(UpdateTime) ############
name: UpdateTime
path: UpdateTime
max_definition_level: 1
max_repetition_level: 0
physical_type: INT64
logical_type: Timestamp(isAdjustedToUTC=true, timeUnit=milliseconds, is_from_converted_type=true, force_set_converted_type=false)
converted_type (legacy): TIMESTAMP_MILLIS

parquet-tools inspect

■■■■■■■■SchemaElement
■■■■■■■■■■■■type = 2
■■■■■■■■■■■■repetition_type = 1
■■■■■■■■■■■■name = UpdateTime
■■■■■■■■■■■■converted_type = 9

from parquet-tools.

sbrandtb avatar sbrandtb commented on June 9, 2024

I would have done it maybe the other way around (--detail or even --thrift or so for the thrift inspection) because I would guess that most users would be more interested in the "simple" output. Or even make it two different subcommands.

But I am fine with either :)

from parquet-tools.

ktrueda avatar ktrueda commented on June 9, 2024

@sbrandtb
I liked your idea. I fixed it and already released v.0.2.6.
Please check it.

from parquet-tools.

Related Issues (20)

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.