OPSMN-1461: Show aggregate functions based on field data type