Hello there--
I managed to merge two XML data-sets into the raw data I need for minor calculations (in the form of one table of fields/ rows).
I need to do some very simple calculations, like subtract the Field A datetime from Field B datetime, then sum the results.
This is extraordinarily easy to do in SQL. There's even an extremely easy conversion from XML datetimes to SQL datetimes aka convert("XMLdate", datetime).
So I thought I could use the SQL scripting in Pentaho instead of laboring over JavaScript. However, this functionality seems to want to connect to a database (again, I just want to run SQL operations on fields I created from XML docs).
I can connect it to a dummy database anyway, but where does it write the output fields from the select statement? It doesn't seem like it does --- are "insert" or "update" fields the only possible output of this scripting step? Help please!
I managed to merge two XML data-sets into the raw data I need for minor calculations (in the form of one table of fields/ rows).
I need to do some very simple calculations, like subtract the Field A datetime from Field B datetime, then sum the results.
This is extraordinarily easy to do in SQL. There's even an extremely easy conversion from XML datetimes to SQL datetimes aka convert("XMLdate", datetime).
So I thought I could use the SQL scripting in Pentaho instead of laboring over JavaScript. However, this functionality seems to want to connect to a database (again, I just want to run SQL operations on fields I created from XML docs).
I can connect it to a dummy database anyway, but where does it write the output fields from the select statement? It doesn't seem like it does --- are "insert" or "update" fields the only possible output of this scripting step? Help please!