You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code yields an internal error path not found. Not quite sure how to solve it.
source: s is table('malloytest.state_facts') + {
query: a is {
declare: total_births is births.sum()
group_by: popular_name
aggregate: total_births
}
query: b is {
group_by: state
nest: a
}
}
The text was updated successfully, but these errors were encountered:
OK, writing down what is going on so I don't forget
Declare makes a query refine it's source
Nesting a query somehow makes that refinement not work
If two nested queries "declare" the same name, those names need to remain local to each nested query, so the refinement of the source needs to either be a graph, or needs to have some mapping. I think this means how "declare" works needs to change
The following code yields an internal error path not found. Not quite sure how to solve it.
The text was updated successfully, but these errors were encountered: