Add a new data type to Pentaho Kettle

2019-01-25 20:58发布

I am trying to add a new data type (Geometry) to Kettle. I have added a new Value type to org.pentaho.di.compatibility. I have added a ValueGeometry class and made the necessary modifications to ValueInterface and Value. The code compiles but the new data type does not show up in plugins like Select. What am I missing here? Also I'd appreciate if you could point me towards the source code for these plugins.

Thanks.

1条回答
做个烂人
2楼-- · 2019-01-25 21:28

As of Kettle 5.0, it is possible to create a plugin to provide new Value types: http://jira.pentaho.com/browse/PDI-191

I have a plugin to add a key/value type (like java.util.Map): https://github.com/mattyb149/pdi-valuemeta-map

and another to represent a Graph (using a property graph model): https://github.com/mattyb149/pdi-graph-computing/tree/master/pdi-valuemeta-graphSON

Both of these are in the PDI Marketplace if you'd like to try them out :)

查看更多
登录 后发表回答