Giter Club home page Giter Club logo

Comments (4)

jorgecarleitao avatar jorgecarleitao commented on August 14, 2024

Could you clarify the question? I am not sure I am understanding. Atm this only supports writing PLAIN, and, in PLAIN with nullable values, only valid slots should be written in parquet.

from arrow2.

ives9638 avatar ives9638 commented on August 14, 2024

Thanks reply, Viewed:
https://github.com/jorgecarleitao/parquet2/blob/f86ba6f65fede75dd7b9f7dd6b0fe3e271d2aa58/src/serialization/read/mod.rs#L50

pub fn page_iter_to_array<I: StreamingIterator<Item = std::result::Result<Page, ParquetError>>>(

parquet2: page_iter_to_array vs arrow2:page_to_array

I don’t understand:
Who should be subject to actual use

from arrow2.

jorgecarleitao avatar jorgecarleitao commented on August 14, 2024

ahh, got it.

Who should be subject to actual use

it depends on what you are looking for: parquet2 makes no assumption about which in-memory format the consumer wants to use. It offers a minimal deserializer for a simple in-memory format that is mostly used to run integration tests against other producers and consumers.

This format does not have the complexities of arrow, and it is thus easier to understand for normal rust users (e.g. it uses Vec<Option<bool>>, not two bitmaps for validity and values of a boolean array).

Arrow2 on the other hand offers a deserializer specifically for arrow's in-memory format.

So, if you wish to use parquet without arrow, use parquet's version; else, use arrow's version. :)

For arrow, there is a guide on how to read and write via parquet:

and also examples in examples/.

from arrow2.

ives9638 avatar ives9638 commented on August 14, 2024

thanks

from arrow2.

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.