Hola Gente,
Estoy corriendo el script mig_calendario (Externos/01_Schema/02_Calendario_academico) y me da el siguiente error cuando llega a “upload_mig_llamados_mesa”:
2015/10/27 13:05:23 - CSV file input.0 - Procesamiento finalizado (EN=13, SA=0, LE=0, ES=12, AC=0, ER=0)
2015/10/27 13:05:23 - Salida Tabla.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected batch update error committing the database connection.
2015/10/27 13:05:23 - Salida Tabla.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseBatchException:
2015/10/27 13:05:23 - Salida Tabla.0 - Error updating batch
2015/10/27 13:05:23 - Salida Tabla.0 - Batch entry 6 INSERT INTO ext.mig_llamados_mesa (turno_examen_nombre, anio_academico, llamado_nombre, mesa_examen_nombre, actividad_codigo, fecha, hora_inicio, hora_fin, espacio) VALUES ( ‘Primer Turno dic 2014’, 2014, ‘llamado dic 2014’, ‘Laboratorio I’, ‘IB05’, ‘2014-12-15 00:00:00.000000 -03:00:00’, ‘1970-01-01 09:00:00.000000 -03:00:00’, ‘1970-01-01 12:00:00.000000 -03:00:00’, NULL) was aborted. Call getNextException to see the cause.
2015/10/27 13:05:23 - Salida Tabla.0 -
2015/10/27 13:05:23 - Salida Tabla.0 - at org.pentaho.di.core.database.Database.createKettleDatabaseBatchException(Database.java:1386)
2015/10/27 13:05:23 - Salida Tabla.0 - at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1375)
2015/10/27 13:05:23 - Salida Tabla.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:575)
2015/10/27 13:05:23 - Salida Tabla.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:96)
2015/10/27 13:05:23 - Salida Tabla.0 - at java.lang.Thread.run(Unknown Source)
2015/10/27 13:05:23 - Salida Tabla.0 - Caused by: java.sql.BatchUpdateException: Batch entry 6 INSERT INTO ext.mig_llamados_mesa (turno_examen_nombre, anio_academico, llamado_nombre, mesa_examen_nombre, actividad_codigo, fecha, hora_inicio, hora_fin, espacio) VALUES ( ‘Primer Turno dic 2014’, 2014, ‘llamado dic 2014’, ‘Laboratorio I’, ‘IB05’, ‘2014-12-15 00:00:00.000000 -03:00:00’, ‘1970-01-01 09:00:00.000000 -03:00:00’, ‘1970-01-01 12:00:00.000000 -03:00:00’, NULL) was aborted. Call getNextException to see the cause.
2015/10/27 13:05:23 - Salida Tabla.0 - at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2743)
2015/10/27 13:05:23 - Salida Tabla.0 - at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(QueryExecutorImpl.java:461)
2015/10/27 13:05:23 - Salida Tabla.0 - at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1928)
2015/10/27 13:05:23 - Salida Tabla.0 - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
2015/10/27 13:05:23 - Salida Tabla.0 - at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
2015/10/27 13:05:23 - Salida Tabla.0 - at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1362)
2015/10/27 13:05:23 - Salida Tabla.0 - … 3 more
2015/10/27 13:05:23 - upload_mig_llamados_mesa - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : ¡Errores detectados!
No entiendo cual es el error. ¿Será por que me pone “1970-01-01 09:00:00.000000 -03:00:00” en el campo hora_inicio? La hora en mi csv dice “09:00” lo tranforma a “1970-01-01 09:00:00.000000 -03:00:00”.
saludos
Gabriela