Coder Social home page Coder Social logo

Comments (5)

bshepherdson avatar bshepherdson commented on June 29, 2024

The big link is broken (at least for me), and I can't see any errors now on loading the main page https://appytown.metabase.com/.

I also don't see any requests for question 6 - has it been removed to prevent the error from bringing down the whole dashboard? If so, where can I see that query and trigger the error?

I do see org.eclipse.jetty.io.EofExceptions while streaming query results in the logs from around when this issue was raised. But the error log indicates that it was executing question 5, which is now working (the stacked bar chart of top-earning developers). I actually still see the same error logs now, even though that question is working.

from metabase.

paoliniluis avatar paoliniluis commented on June 29, 2024

@bshepherdson the question is now removed, if you access the instance you will be able to see it

from metabase.

bshepherdson avatar bshepherdson commented on June 29, 2024

Okay, I have visibility now.

This is failing to validate the query because the argument to :sum isn't a number. That's wrong; it's clearly a numeric column (1266, weekly active users) and all the metadata agrees it's :type/BigInteger.

I'm going to try reproducing this locally with a similar CSV upload, model and query.

from metabase.

bshepherdson avatar bshepherdson commented on June 29, 2024

I can't reproduce this directly. Also if I duplicate the query on the Appytown instance, it works fine.

Looking at those two queries, the obvious difference is that the original broken one uses [:sum [:field 1266 {...}]] and the new working one uses [:sum [:field "weekly_active_users" {...}]]. The latter (using the model's column names rather than Field IDs) is what I'd expect to see for queries against a model.

Hypothesis: This Apps model used to be either a saved question, or a direct table reference, and then its source was changed to the model, but the refs stayed broken.

I'll see if I can reproduce it like that.

from metabase.

bshepherdson avatar bshepherdson commented on June 29, 2024

No repro with those two paths.

  • Changing the data source from the table to the model dropped everything from the rest of the query; the rebuilt aggregation used a correct ref.
  • Starting with a SQ and then turning that into a model did keep the ID refs, but the query still works. So that probably was the path but it doesn't repro locally.

Without a repro on master, I'm not sure what else to say here. I think dropping that aggregation and replacing it will fix the Appytown question, and if that doesn't work then a duplicate of the query works fine.

from metabase.

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.