Github user kaspersorensen commented on the issue:

    https://github.com/apache/metamodel/pull/128
  
    Hmm, so it appears to me that there are pros and cons of either way of 
thinking about it. I am trying to juggle a few concerns: (1) consistency within 
MetaModel and (2) meeting users expectations (which we have demonstrated can 
differ).
    
    Maybe the best would even be to have two FunctionTypes for it then? Or 
maybe even three, a la , `AVG_SAME_TYPE` (will retain int->int), `AVG_DECIMAL` 
(will always return a decimal type), `AVG_NATIVE` (will do whatever the native 
backing store prefers). At the same time that doesn't really sound very 
appealing somehow :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to