Closed lloydtabb closed 5 months ago
Says 'can't define s'
Interestingly, this works...
##! experimental { sql_functions }
source: a is duckdb.table('data/state_facts.parquet') extend {
measure: c is count()
dimension: state_len is sql_number("LENGTH(${state})")
}
run: a -> {
aggregate: s is state_len.sum()
group_by: ok is state_len = 2
}
Can not use a sql_number in an
aggregate:
.