I would like to execute an Insert / Update operation in a table in a postgresql database. The table has several columns, including a 'details' column of type jsonb which is the target for most of my data.
All would be well except that the key id to match on lives within the details object. Postgres has the '->>' operator to get keys from a json object. Ergo I can query like this:
select * from customers where details ->> 'myId' = '1234'
Does this exist in Pentaho? When I open up the Insert / Update interface I can only select column names under 'table field', ideally I would like to write "details ->> 'myId'".
Is this possible, or do I have to write my own class? I am not sure how to approach it. Can I get a dump of the Insert / Update class and then modify it?
Thanks a lot for any help