Pentaho

 View Only

 PDI v8 - Step Memory Group by

  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
Manuel Besoain's profile image
Manuel Besoain posted 04-03-2018 20:27

Hi,

I am using Step Memory Group by for Pentaho v8 DI. In "Aggregates" I added an Average type value, but it is returning a Integer not a Number type, so it is excluding decimals. On Pentaho v5 DI the output type for same step is Number.

Do you know how to change thar behavior?

Thanks in advance.

Manuel


#Pentaho
#PentahoDataIntegrationPDI
#Kettle
Johan Hammink's profile image
Johan Hammink

In my situation, when the incomming field is a number  the average is a number. When the incomming field is an integer the average is an integer

David Martinez's profile image
David Martinez

Try to use a Select Values before grouping, and change field data type to bigNumber in metadata tab.

Manuel Besoain's profile image
Manuel Besoain

Hi,

I used Select Values to use Number instead Integer and it worked fine.

Many thanks

Manuel