pentaho - Method named getTime is not declared when using a Timestamp in Kettle -


if declare user defined java expression (which uses janino) in kettle so:

new java.util.date(agent_start_time.gettime()) 

(where agent_start_time defined timestamp)

i error:

2015/07/23 16:25:10 - [test-timestamp].user defined java expression.0 - caused by: org.codehaus.janino.compileexception: line 1, column 44: method named "gettime" not declared in enclosing class nor supertype, nor through static import 

which strange doco states timestamps support gettime java.util.dates (albeit @ different granularity)

looks user-defined java expression step doesn't support timestamp parameters (bug pdi-14347).

you can cast date, via select values step, appears resolve issue in testing.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -