Giter VIP home page Giter VIP logo

Comments (4)

cpcloud avatar cpcloud commented on September 27, 2024

So, the script eventually finishes, so perhaps "never finishes" isn't quite correct.

I think it's strange though that the parquet version is so much slower than the native version:

  • Native: 0.3s
  • Parquet: 34s

100x difference seems pretty rough :)

Bumping up the scale factor to 0.1 things start to go haywire (and the massive .tmp directory gets created):

  • Native: 0.3s
  • Parquet: ? (still waiting on this to finish, up to 445GB of .tmp now)

from duckdb.

cpcloud avatar cpcloud commented on September 27, 2024

Well with sf=0.1, I got this error message eventually:

duckdb.duckdb.OutOfMemoryException: Out of Memory Error: failed to offload data block of size 256.0 KiB (791.4 GiB/791.4 GiB used).

from duckdb.

szarnyasg avatar szarnyasg commented on September 27, 2024

Hi Phillip, thanks for opening this. Did you try it on the latest nightly build (pip install duckdb --pre --upgrade)?

$ time python my.py
starting query
python3.11 my.py  0.97s user 0.22s system 245% cpu 0.484 total

from duckdb.

cpcloud avatar cpcloud commented on September 27, 2024

Excellent, seems to be fixed on nightly. 🎉

Any idea what the fix was?

from duckdb.

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.