-
Notifications
You must be signed in to change notification settings - Fork 253
Closed
Description
Hi I am trying to execute the following query:
select((o.label,avg(o.properties["Output"])) for o in Object if o.repid.id == 2 and o.object_class.name == "Application Service")
However I an getting the following error:
Function 'AVG' expects argument of numeric type, got 'Json' in avg(o.properties['Throughput'])
I tried to execute an aggregation operation in non JSON columns with no problem.
Does pony orm not support aggregation operation in JSON columns or there is any way do solve this problem?
Regards,
Marco Mendão
Reactions are currently unavailable