Pentaho Data Integration plugin to supply a function to resolve, and insert if it doesn't exist, the date dimension.