Code Monkey home page Code Monkey logo

Comments (5)

mukunku avatar mukunku commented on July 23, 2024

It looks like the parquet-dotnet library we use doesn't support your file.

The quickest way to get it resolved would be to open a ticket in their repo: https://github.com/aloneguid/parquet-dotnet/issues

I'll see if I can take a look and fix it on my end but can't promise anything on timing.

from parquetviewer.

mukunku avatar mukunku commented on July 23, 2024

@dvesic So I figured out why your file can't be opened. It appears to me to be malformed; there's an extra byte of data in the data page for some reason that's throwing off the parquet-dotnet library.

I created a release with a patch that you can download here: ParquetViewer_PR81_v0.zip

I created this release from this fork I made of the parquet-dotnet library. However I don't think this solution is correct, assuming the file really is malformed. So I won't be adding a fix for this in any of the main releases.

You can use the patched ParquetViewer I shared above for your own files and hopefully this bug will get fixed in future versions of Oracle or parquet-dotnet.

Also, thanks for sharing your bug and a test file.

cc: @aloneguid

from parquetviewer.

mukunku avatar mukunku commented on July 23, 2024

I'm going to close out this issue for now. But please feel free to re-open if you want to discuss further.

from parquetviewer.

dvesic avatar dvesic commented on July 23, 2024

Thank you very much for the patch - I appreciate it.

from parquetviewer.

mukunku avatar mukunku commented on July 23, 2024

Hey @dvesic ,

I came across this bug: dask/fastparquet#855

I noticed the file you shared had this in its metadata:

   "CreatedBy": "fastparquet-python version 2023.4.0 (build 0)",

They seem to have fixed an issue with string byte array sizes which is very similar to the behavior I was observing when reviewing your file.

I wonder if your Oracle can be updated to use version 2023.8.0 instead of 2023.4.0. If you get the chance to test it with the newer version please let me know if the issue is fixed in the latest regular release.

from parquetviewer.

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.