Open Business Intelligence

La red del Business Intelligence

Error al realizar una transformacion con postgresql

Buen dia

He realizado una transformacion muy basica

Un archivo EXCEL, del cual puedo cargar la hoja de calculo que necesito y la puedo visializar correctamente

Añadi la tabal de la base de datos y al ejecutar la transformacion me indica esto

2014/07/24 11:34:02 - Spoon - Transformation opened.
2014/07/24 11:34:02 - Spoon - Launching transformation [trfSheetExcel2Postgres]...
2014/07/24 11:34:02 - Spoon - Started the transformation execution.
2014/07/24 11:34:02 - trfSheetExcel2Postgres - Dispatching started for transformation [trfSheetExcel2Postgres]
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Connected to database [CnxLocalhostPostgreSQL] (commit=100)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Because of an error, this step can't continue:
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : org.pentaho.di.core.exception.KettleException:
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Error batch inserting rows into table [ejecmensual].
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Errors encountered (first 10):
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Batch entry 0 INSERT INTO transformationpentaho.ejecmensual (ano_eje, sec_ejec, pliego, ejecutora, sec_func, programa, prod_pry, act_ai_obra, funcion, division_func, grupo_func, meta, finalidad, unidad_medida, cantidad, departamento, provincia, distrito, origen, fuente_financ_agregada, fuente_financ, tipo_recurso, categ_gasto, tipo_transaccion, generica, subgenerica, subgenerica_det, especifica, especifica_det, presupuesto, modificacion, pim, m01, m02, m03, m04, m05, m06, m07, m08, m09, m10, m11, m12, total_prog, saldo, porcentaje) VALUES ( '2014',  '001309',  '050',  '001',  '0001',  '0035',  '3000603',  '5004399',  '17',  '054',  '0119',  '00001',  '0107477',  '00194',  '9.0',  '01',  '02',  '99',  NULL,  '1',  NULL,  NULL,  '5',  '2',  '3',  NULL,  NULL,  NULL,  NULL,  '3754.0',  '0.0',  '3754.0',  '190.0',  '600.0',  '0.0',  '630.0',  '77.5',  '658.5',  '0.0',  '0.0',  '0.0',  '0.0',  '0.0',  '0.0',  '2156.0',  '1598.0',  '57.43') was aborted.  Call getNextException to see the cause.
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - ERROR: column "sec_ejec" of relation "ejecmensual" does not exist
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -   Position: 57
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Error updating batch
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Batch entry 0 INSERT INTO transformationpentaho.ejecmensual (ano_eje, sec_ejec, pliego, ejecutora, sec_func, programa, prod_pry, act_ai_obra, funcion, division_func, grupo_func, meta, finalidad, unidad_medida, cantidad, departamento, provincia, distrito, origen, fuente_financ_agregada, fuente_financ, tipo_recurso, categ_gasto, tipo_transaccion, generica, subgenerica, subgenerica_det, especifica, especifica_det, presupuesto, modificacion, pim, m01, m02, m03, m04, m05, m06, m07, m08, m09, m10, m11, m12, total_prog, saldo, porcentaje) VALUES ( '2014',  '001309',  '050',  '001',  '0001',  '0035',  '3000603',  '5004399',  '17',  '054',  '0119',  '00001',  '0107477',  '00194',  '9.0',  '01',  '02',  '99',  NULL,  '1',  NULL,  NULL,  '5',  '2',  '3',  NULL,  NULL,  NULL,  NULL,  '3754.0',  '0.0',  '3754.0',  '190.0',  '600.0',  '0.0',  '630.0',  '77.5',  '658.5',  '0.0',  '0.0',  '0.0',  '0.0',  '0.0',  '0.0',  '2156.0',  '1598.0',  '57.43') was aborted.  Call getNextException to see the cause.
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:404)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:128)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at java.lang.Thread.run(Thread.java:662)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Caused by: org.pentaho.di.core.exception.KettleDatabaseBatchException:
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Error updating batch
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Batch entry 0 INSERT INTO transformationpentaho.ejecmensual (ano_eje, sec_ejec, pliego, ejecutora, sec_func, programa, prod_pry, act_ai_obra, funcion, division_func, grupo_func, meta, finalidad, unidad_medida, cantidad, departamento, provincia, distrito, origen, fuente_financ_agregada, fuente_financ, tipo_recurso, categ_gasto, tipo_transaccion, generica, subgenerica, subgenerica_det, especifica, especifica_det, presupuesto, modificacion, pim, m01, m02, m03, m04, m05, m06, m07, m08, m09, m10, m11, m12, total_prog, saldo, porcentaje) VALUES ( '2014',  '001309',  '050',  '001',  '0001',  '0035',  '3000603',  '5004399',  '17',  '054',  '0119',  '00001',  '0107477',  '00194',  '9.0',  '01',  '02',  '99',  NULL,  '1',  NULL,  NULL,  '5',  '2',  '3',  NULL,  NULL,  NULL,  NULL,  '3754.0',  '0.0',  '3754.0',  '190.0',  '600.0',  '0.0',  '630.0',  '77.5',  '658.5',  '0.0',  '0.0',  '0.0',  '0.0',  '0.0',  '0.0',  '2156.0',  '1598.0',  '57.43') was aborted.  Call getNextException to see the cause.
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:320)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     ... 3 more
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 - Caused by: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO transformationpentaho.ejecmensual (ano_eje, sec_ejec, pliego, ejecutora, sec_func, programa, prod_pry, act_ai_obra, funcion, division_func, grupo_func, meta, finalidad, unidad_medida, cantidad, departamento, provincia, distrito, origen, fuente_financ_agregada, fuente_financ, tipo_recurso, categ_gasto, tipo_transaccion, generica, subgenerica, subgenerica_det, especifica, especifica_det, presupuesto, modificacion, pim, m01, m02, m03, m04, m05, m06, m07, m08, m09, m10, m11, m12, total_prog, saldo, porcentaje) VALUES ( '2014',  '001309',  '050',  '001',  '0001',  '0035',  '3000603',  '5004399',  '17',  '054',  '0119',  '00001',  '0107477',  '00194',  '9.0',  '01',  '02',  '99',  NULL,  '1',  NULL,  NULL,  '5',  '2',  '3',  NULL,  NULL,  NULL,  NULL,  '3754.0',  '0.0',  '3754.0',  '190.0',  '600.0',  '0.0',  '630.0',  '77.5',  '658.5',  '0.0',  '0.0',  '0.0',  '0.0',  '0.0',  '0.0',  '2156.0',  '1598.0',  '57.43') was aborted.  Call getNextException to see the cause.
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2619)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(QueryExecutorImpl.java:457)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2752)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:315)
2014/07/24 11:34:02 - Ejecucion Mensual Table output.0 -     ... 3 more
2014/07/24 11:34:03 - Microsoft Excel Input.0 - Finished processing (I=262, O=0, R=0, W=261, U=0, E=0)
2014/07/24 11:34:03 - Ejecucion Mensual Table output.0 - Finished processing (I=0, O=99, R=100, W=0, U=0, E=1)
2014/07/24 11:34:03 - trfSheetExcel2Postgres - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Errors detected!
2014/07/24 11:34:03 - Spoon - The transformation has finished!!
2014/07/24 11:34:03 - trfSheetExcel2Postgres - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Errors detected!
2014/07/24 11:34:03 - trfSheetExcel2Postgres - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Errors detected!
2014/07/24 11:34:03 - trfSheetExcel2Postgres - trfSheetExcel2Postgres
2014/07/24 11:34:03 - trfSheetExcel2Postgres - trfSheetExcel2Postgres

He revisado cada paso e incluso la conexion a la base de datos y si lo reconoce y el esquema en donde se encuentra la tabla correspondiente

Por favor, como puedo resolver ello

Gracias

Juan carlos Espinoza

Visitas: 821

Comentario por Juan Carlos Espinoza Valera el julio 24, 2014 a las 8:47pm

Estimados

Puede arreglar el problema y era cuando usaba la tabla, tenia que actualizar la opcion SQL y elimine el cacheGracias

Comentar

¡Necesitas ser un miembro de Open Business Intelligence para añadir comentarios!

Participar en Open Business Intelligence

Distintivo

Cargando…

© 2024   Creado por Emilio.   Tecnología de

Emblemas  |  Reportar un problema  |  Términos de servicio