Hola
Tenemos instalada la versión 6.9.0 de Wichi y tenemos un error en el ETL que extrae datos de Mapuche:
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - Error inserting row into table [ft_liqconceptosxcargos] with values: [202106], [2021], [6], [473], [17], [7470], [null], [128012], [1], [165], [2], [13], [121], [15], [1], [8], [30], [0], [16051.6], [100.00], [0], [1], [1], [16051.6], [16051.6], [16051.6], [0], [0], [0], [16051.6], [0], [0], [2021/08/11 00:00:00.000]
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 -
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - Error inserting/updating row
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - ERROR: null value in column “nro_cargo_base” violates not-null constraint
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - Detail: Failing row contains (202106, 2021, 6, 473, 17, 7470, null, 128012, 165, 1, 1, 15, 2, 13, 121, 8, 30, 0, 16051.60, 100.00, 0, 1, 1, 16051.60, 0.00, 16051.60, 0.00, 16051.60, 0.00, 16051.60, 0.00, 0.00, 2021-08-11).
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 -
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 -
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:377)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:118)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at java.lang.Thread.run(Thread.java:745)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - Error inserting/updating row
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - ERROR: null value in column “nro_cargo_base” violates not-null constraint
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - Detail: Failing row contains (202106, 2021, 6, 473, 17, 7470, null, 128012, 165, 1, 1, 15, 2, 13, 121, 8, 30, 0, 16051.60, 100.00, 0, 1, 1, 16051.60, 0.00, 16051.60, 0.00, 16051.60, 0.00, 16051.60, 0.00, 0.00, 2021-08-11).
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 -
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.pentaho.di.core.database.Database.insertRow(Database.java:1273)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:255)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - … 3 more
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - Caused by: org.postgresql.util.PSQLException: ERROR: null value in column “nro_cargo_base” violates not-null constraint
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - Detail: Failing row contains (202106, 2021, 6, 473, 17, 7470, null, 128012, 165, 1, 1, 15, 2, 13, 121, 8, 30, 0, 16051.60, 100.00, 0, 1, 1, 16051.60, 0.00, 16051.60, 0.00, 16051.60, 0.00, 16051.60, 0.00, 0.00, 2021-08-11).
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:168)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:135)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - at org.pentaho.di.core.database.Database.insertRow(Database.java:1240)
2021/08/11 21:01:51 - dsa_ft_liqconceptosxcargos.0 - … 4 more
Agradecemos vuestra ayuda.
Saludos
Pablo