Open mtoy-googly-moogly opened 5 days ago
I think what's happening is that it is being checked, but that check just isn't ensuring that it's an output field. It just checks whether it exists: https://github.com/malloydata/malloy/blob/main/packages/malloy/src/lang/ast/expressions/expr-func.ts#L305
So I think we just add a check whether the eval space is 'output'
there.
Produces a runtime error "Internal Error, field Not defined name"
Change
group_by: filed
togroup_by: filed. name
and it worksIf I leave
filed
out of thegroup_by:
I getUnknown field filed in output space
from the compilerpartition_by:
like we do theorder_by:
at compile timeUnknown field 'filed' in output space