The new transforms feature contains a bug. The easiest way to see it is to try:
(pick (table :mytable) :id)
where id is an integer. You will get an error about creating an ISeq from java.lang.Integer. Problem stems from how transforms are applied to the final query. Specifically, in this code
The function f is doall and you cannot apply this to things like integers or timestamps. I did not submit a patch as I don't know what the intention here is. I would guess that you want to perform the doall before the transform, but perhaps this would break how you use the apply-on function elsewhere.
The new transforms feature contains a bug. The easiest way to see it is to try:
where id is an integer. You will get an error about creating an ISeq from java.lang.Integer. Problem stems from how transforms are applied to the final query. Specifically, in this code
The function f is doall and you cannot apply this to things like integers or timestamps. I did not submit a patch as I don't know what the intention here is. I would guess that you want to perform the doall before the transform, but perhaps this would break how you use the apply-on function elsewhere.