I am trying to run this query: `select id3, max(v1...
# daft-dev
m
I am trying to run this query:
select id3, max(v1)-min(v2) as range_v1_v2 from x group by id3
Here's the error:
Copy code
daft.exceptions.InvalidSQLException: Daft error: DaftError::External Unable to create logical plan node.
Due to: DaftError::ValueError Expected aggregation expression, but got: max(col(v1)) - min(col(v2))
Any suggestions how to get this query working?
k
Hi Matthew, what version of Daft are you running?
m
@Kevin Wang - 0.3.13
k
Haha this happens to be the highest version for which this query does not work. Could you try getdaft>=0.3.14 and let me know how it goes?
m
@Kevin Wang - that worked 🚀
🙌 1
k
great!