Postgres to Json. Pentaho 7.0 ( Data Integration)
问题 I make a query to a database of postgres and I bring two fields, "USER" and "CREATED" (DATE) I extract the year from the creation date, and then it is traversing the records and according to the year and the user create the new json object And I would like to generate a json with the following structure.: [ {year:2015, users[ { user:"Ana" created: 4 }, { user:"Pedro" created: 7 } ]}, year:2016, users[ { user:"Ana" created: 4 }, { nombre:"Pedro" created: 7 } ]} ] I create a modification with