malloydata / malloy

Malloy is an experimental language for describing data relationships and transformations.
http://www.malloydata.dev
MIT License
1.96k stars 76 forks source link

Ecommerce example of brand synergies - code not working 100% - new source VS run #1777

Open wwasilak opened 2 months ago

wwasilak commented 2 months ago

Tried to replicate brand synergies code from Ecommerce in Motherduck examples.

If it is embbeded in new source, it doesn;t work as it should (only first part of pipeline tested):

source: brand_synergy is 
  ordersRAW -> {
    group_by: user_id
    nest: brand1 is { group_by: product_name }
  }

If i switch to 'run' on original source then it works fine:

 run: ordersRAW -> {
    group_by: user_id
    nest: brand1 is { group_by: product_name }
  } 

Windows 10 VS Code Desktop Malloy: v0.3.1719853081 (pre-release)