Git Product home page Git Product logo

Comments (3)

mbasmanova avatar mbasmanova commented on May 29, 2024

Hi @yvxiang,

thank you for the questions.

(1) coroutines are available only in C++ 20, but Velox requires only C++ 17.

(2) we want to allow for early termination by operators like Limit and Hash Join. Limit doesn't need to receive all its input before producing full output. As soon as it has seen N rows, it is done. Similarly, Hash Join can finish early if build side turns out to be empty. We also would like to allow for the downstream operators to apply back pressure and prevent production of too much data. The design there processing id driven by demand from the downstream operators satisfies these requirements.

Hope this helps. Let me know if I misunderstood your questions, my responses are not clear or you have follow-up questions.

from velox.

yvxiang avatar yvxiang commented on May 29, 2024

OK,any plan to use coroutines in the future?

from velox.

mbasmanova avatar mbasmanova commented on May 29, 2024

At the moment, Velox requires only C++ 17 to build. Coroutines are available only in C++ 20. To use them, we'll need to upgrade the requirement to C++ 20.

from velox.

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.