Git Product home page Git Product logo

Comments (3)

martindurant avatar martindurant commented on September 17, 2024

Just to note that this appears to work if

  • you use the pandas or fastparquet API, not spark
  • you use the actual root of the dataset, write_path rather than tempdir

So it's a bug in dask, or one could argue not a bug at all.

from fastparquet.

nicornk avatar nicornk commented on September 17, 2024

Thanks for getting back so quickly - I was not sure if I should open the issue here or in the dask repo.

You know the codebase much better than me to conclude if this is a bug or not - at least it is an inconsistency that was annoying me to create this issue ;)

from fastparquet.

martindurant avatar martindurant commented on September 17, 2024

I would say it is not strictly a bug. The behaviour is a result of giving the wrong directory path, one level higher than the actual root of the dataset. Specifically, when you partition on write, you get directories like "Report_date=value/" inside which the data files sit; this is the "hive" convention. When you then analyse a path like "spark/Report_date=value/part1.parq", it has a mix of this "hive" style information and non-hive part, and the exception is related to this apparent inconsistency.

I think this can safely be closed.

from fastparquet.

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.