Coder Social home page Coder Social logo

parquets's People

Contributors

dependabot[bot] avatar dobesv avatar kbajalc avatar

Stargazers

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

Watchers

 avatar

parquets's Issues

Direct upload to cloud

Is there anyway to upload parquet file directly to cloud without creating a local file?

What are the compatibility issues?

WARNING: There are compatibility issues with the reference implementation when using 'optional' columns!

I'm assuming I should avoid optional columns altogether, but not sure I can.

node-int64 dependency has Buffer() security and usability issues

node-int64 dependency has published 8 years ago and it's GitHub repository is in archived stated now.

It has Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. issue unresolved.

Are there any plans to migrate to BigInt or some other alternative?

Error while reading file: cursor.buffer.readUInt32LE is not a function

I am trying to read a parquet file buffer from a React application, using this code:

      const fileDataBuffer = Buffer.from(fileData);
      let reader = await ParquetReader.openBuffer(fileDataBuffer);
      
      // create a new cursor
      let cursor = reader.getCursor();
      
      // read all records from the file and print them
      let record = null;
      while (record = await cursor.next()) {
        console.log(record);
      }

However, when the code is executing this: record = await cursor.next(), I am getting the following error:

TypeError: cursor.buffer.readUInt32LE is not a function
    decodeValues_BYTE_ARRAY plain.ts:191
    decodeValues plain.ts:43
    decodeValues reader.ts:354
    decodeDataPage reader.ts:496
    decodeDataPages reader.ts:385
    readColumnChunk reader.ts:321
    readRowGroup reader.ts:295
    next reader.ts:63
    processFile index.tsx:169
    onSuccess index.tsx:215
    NotifyManager notifyManager.js:62
    notifyFn notifyManager.js:10
    flush notifyManager.js:77
    flush notifyManager.js:76
    batchedUpdates$1 React
    flush notifyManager.js:75
    promise callback*scheduleMicrotask utils.js:322
    flush notifyManager.js:74
    batch notifyManager.js:30
    dispatch query.js:390
    setData query.js:83
    onSuccess query.js:334
    resolve retryer.js:58
    promise callback*run retryer.js:116
    Retryer retryer.js:156
    fetch query.js:330
    executeFetch queryObserver.js:199
    setOptions queryObserver.js:85
    useBaseQuery useBaseQuery.js:78
    React 5
    unstable_runWithPriority scheduler.development.js:468
    React 4
    unstable_runWithPriority scheduler.development.js:468
    React 5
    onSuccess useClientInputDatasets.tsx:55
    notify queryObserver.js:497
    batch notifyManager.js:25
    notify queryObserver.js:494
    updateResult queryObserver.js:454
    onQueryUpdate queryObserver.js:484

Could someone help me understand the issue here and how can I fix it? Appreciate it.

Is this repository maintained?

Is this project maintained?

I guess it started as a fork of parquetjs which was not really well maintained (and is still not).

But now it seems parquets is not really maintained too. Is there any plan to add contributors so issues and pull requests can receive some answers?

Maybe we can considere a fork if no answer is provided, anyone?

Uploads empty parquet file to S3

Hello,

When I try to upload the parquet file to S3 Bucket, the file is getting created with the set name but it's creating without any content in it.

Is there any fix?

ENUM types unsupported

I'm trying to read a file which contains ENUM types, however (e.g. parquet-tools schema shows something like required binary entryMethod (ENUM);) but parquet.ParquetReader.openFile() just throws an error:

Error: invalid parquet type: ENUM

... which means I can't use this package to read my files.

What are my options ?
Are there any plans to support this type ?

Thanks,

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.