malloy
malloy copied to clipboard
renames maybe can take an expression?
I really want to write this.
source: raw_title is table('duckdb:data/raw_title.parquet') {
rename: startYear is startYear::number
}
But I have to write this:
source: raw_title is table('duckdb:data/raw_title.parquet') {
rename: _startYear is startYear
dimension: startYear is _startYear::number
}
I'd be happier if we made
dimension: x is x+1
work, and then this would be dimension: startYear is startYear::number