Giter VIP home page Giter VIP logo

Comments (6)

dasmdasm avatar dasmdasm commented on June 13, 2024

It seems like you're probably running into the zetasql max_intermediate_byte_size. It's set in-code here, and at the moment there's no way to configure it except through code changes. We would need to submit a feature request to zetasql to make it configurable, and then update our query execution tool to expose the option.

As a short-term fix, you could try editing the limit in code. You might also be able to revise your query to avoid the limit - what query are you trying to run?

from differential-privacy.

gervarela avatar gervarela commented on June 13, 2024

Thank you for your reply.

The query is quite simple, just a sum() of one column y a dataset with more than 150k-200k rows. Not much to simplfy, apart from performing multiple sums o paritions of the dataset.

Will try to modify the code until its possible to make it configurable.

Is there an official way of requesting the feature to zetasql, apart from a github issue?

from differential-privacy.

dasmdasm avatar dasmdasm commented on June 13, 2024

I filed an internal feature request with them on your behalf, so no need for you to do anything there :)

I'll update this issue when we have progress.

from differential-privacy.

gervarela avatar gervarela commented on June 13, 2024

Thank you very much!

from differential-privacy.

dibakch avatar dibakch commented on June 13, 2024

Thanks for your patience! We have now updated the ZetaSQL dependencies and you could now try to increase memory by setting the following flags:

  • --evaluator_max_value_byte_size
  • --evaluator_max_intermediate_byte_size

Defaults are:

int64_t max_value_byte_size = 1024 * 1024;
int64_t max_intermediate_byte_size = 128 * 1024 * 1024;

Let me know if this works for your use case.

from differential-privacy.

dibakch avatar dibakch commented on June 13, 2024

Closing this, as we have a workaround with the above flags. Documentation changes are in the pipeline to be pushed soon.

from differential-privacy.

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.