Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
i want to create a Mysql table with the component tMysqlOutput that contain a Timestamp columns.
In Mysql 5.6 or above i can define the timestamp with TIMESTAMP(6) type that allow a milisecond accuracy.
In the Talend component it seam that the precision or the size is not transmit to the Mysql server. In fact with a DB_TYPE set to timestamp and a Length set to anything. The created table in mysql does only have the column set to TIMESTAMP.
Regarding the result, when i try to insert rows, is a lack of precision.
is there a way to allow the tMysqlOutput to create column with the new mysql syntax that include the precision of the Timestamp and Datetime ?
If the table is created before in Mysql with TIMESTAMP(6) then the component manage the data with the right accuracy and store centiseconds correctly and complete with 0 for the miliseconds because of the java limitation in timestamp precision.
regards