Git Product home page Git Product logo

malloy-samples's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

malloy-samples's Issues

View top_brands in ecommerce.malloy results in "Error: Path to structure not found 'gross_margin'"

What happens?

When trying to run the top_brands view defined in ecommerce.malloy, an error "Error: Path to structure not found 'gross_margin'" is thrown

This happens for any view in which aggregates built on top of the *_gross_margin fields are used

To Reproduce

Run this view in ecommerce.malloy

  view: top_products is {
    top: 5
    group_by: inventory_items.product_name
    aggregate: total_sales, percent_of_sales, total_gross_margin, order_item_count
  }

OS:

macOS

Malloy Client:

local VSCode

Malloy Client Version:

v0.3.1711050948 (pre-release)

Database Connection:

DuckDB

Automated malloy-samples releases

What happens?

Currently the malloy-samples "release" package doesn't automatically update. This is problematic because some of our links ask people to download sample files and point them to the "latest" release, which can have out-of-date code with deprecated syntax. Is there an easy way to either automated the release process, or have the links always point to the most recent main branch?

To Reproduce

Go to https://github.com/malloydata

Click the "Download and Unzip the sample models" link:

image

This takes you to the "latest releases" page on malloy-samples, which must be manually updated

OS:

All OS's

Malloy Client:

All clients

Malloy Client Version:

All clients

Database Connection:

All DBs

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.