Giter VIP home page Giter VIP logo

Comments (10)

DistributedDoge avatar DistributedDoge commented on June 12, 2024 1

I just learned we can in fact select assets using groups, compute kind or other properties.

This means we can probably construct assset job definitions in such a way, that say CI run would only trigger default assets while weekly fetch would trigger everything including actually updating Dune or Flipside.

from dagster import AssetSelection
AssetSelection.groups('group_label')

from gitcoin-grants-data-portal.

davidgasquez avatar davidgasquez commented on June 12, 2024

Dune has an upload limit of 1MiB...

We can upload probably some daily metrics but not much more.

@DistributedDoge, do you know how the Flipside external data works?

Seems their live query stuff would work for JSON data but I'm not sure if it can read Parquet files

from gitcoin-grants-data-portal.

DistributedDoge avatar DistributedDoge commented on June 12, 2024
  1. From what I see in docs+UI Dune is telling me upload limit is 200MB per .CSV table. See here, no clue if it is accurate though.

  2. Last time I tried, Flipside could not read anything other than JSON, it will most certainly work with ipfs-hosted file though.

EDIT: For 2, to avoid making things messy we could e.g. push a subset of tables as json to different Filebase bucket.

from gitcoin-grants-data-portal.

davidgasquez avatar davidgasquez commented on June 12, 2024

Dune is telling me upload limit is 200MB per .CSV table

I think that might be correct. The limit comes from the Free plan, which limits storage to 1MB.

image

For 2, to avoid making things messy we could e.g. push a subset of tables as json to different Filebase bucket.

That could work! We'll need to check how efficient those queries are though. Querying uncompressed JSON is not very efficient.

from gitcoin-grants-data-portal.

DistributedDoge avatar DistributedDoge commented on June 12, 2024

image

Confirmed empirically that Dune does not let me upload 25MB file, bait and switch at its finest.

from gitcoin-grants-data-portal.

davidgasquez avatar davidgasquez commented on June 12, 2024

They're thinking about increasing it though.

I can poke them a bit more and check if that's a "future" plan or actual thing happening in the following weeks/months.

from gitcoin-grants-data-portal.

davidgasquez avatar davidgasquez commented on June 12, 2024

Left a comment with a potential implementation approach.

from gitcoin-grants-data-portal.

davidgasquez avatar davidgasquez commented on June 12, 2024

Sounds like the perfect approach!

from gitcoin-grants-data-portal.

davidgasquez avatar davidgasquez commented on June 12, 2024

For Flipside, a new option can be to push data to a spreadsheet and have Flipside read from it.

from gitcoin-grants-data-portal.

davidgasquez avatar davidgasquez commented on June 12, 2024

Seems like Dune live fetch is now open to all free users!

from gitcoin-grants-data-portal.

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.