Embarrassing , My question is how to decide these aggregate result type ?
At 2019-06-12 13:40:42, "Maria" <[email protected]> wrote: >Hi, all: I'm using the es-adapter to do some aggregating,such like >count(),sum(),avg()..... BUT, these ops will generate new virtual column,maybe >something was done by calcite itself to deduce appropriate datatype for this? >I saw some description in http://calcite.apache.org/docs/reference.html: > "Calcite deduces the parameter types and result type of a function from the > parameter and return types of the Java method that implements it. " >So the question is does this matter? > > >Thanks for any reply. >Best Regards. >
