Hola Alejandro
Ahí volví a correr un nuevo proceso de migración, y mirando los logs, encuentro esto:
2021/12/03 09:30:56 - Set Variables.0 - Setting environment variables...
2021/12/03 09:30:56 - Set Variables.0 - Set variable nombretabla to value [sga_det_escala]
2021/12/03 09:30:56 - Set Variables.0 - Finished after 1 rows.
2021/12/03 09:30:56 - Set Variables.0 - Procesamiento finalizado (EN=0, SA=0, LE=1, ES=1, AC=0, ER=0)
2021/12/03 09:30:56 - Setear variable - Entrada de comienzo [Copiar datos tabla]
2021/12/03 09:30:56 - Copiar datos tabla - Running transformation using the Kettle execution engine
2021/12/03 09:30:56 - Copiar una tabla - Iniciado despacho de la transformación [Copiar una tabla]
2021/12/03 09:30:56 - Table output.0 - Connected to database [conexion_pg] (commit=100)
2021/12/03 09:30:56 - Table input.0 - !TableInput.Log.FinishedReadingQuery!
2021/12/03 09:30:56 - Table input.0 - Procesamiento finalizado (EN=1869, SA=0, LE=0, ES=1869, AC=0, ER=0)
2021/12/03 09:30:57 - Table output.0 - WARNING: Couldn't insert row into table: [6], [], [Libre], [L], [null], [Libre]
2021/12/03 09:30:57 - Table output.0 -
2021/12/03 09:30:57 - Table output.0 - Error inserting/updating row
2021/12/03 09:30:57 - Table output.0 - ERROR: null value in column "nota" violates not-null constraint
2021/12/03 09:30:57 - Table output.0 - Detail: Failing row contains (6, null, Libre, L, null, Libre).
2021/12/03 09:30:57 - Table output.0 - WARNING: Couldn't insert row into table: [4], [], [Libre], [L], [null], [Libre]
2021/12/03 09:30:57 - Table output.0 -
2021/12/03 09:30:57 - Table output.0 - Error inserting/updating row
2021/12/03 09:30:57 - Table output.0 - ERROR: current transaction is aborted, commands ignored until end of transaction block
2021/12/03 09:30:57 - Table output.0 - WARNING: Couldn't insert row into table: [3], [], [Libre], [L], [null], [Libre]
2021/12/03 09:30:57 - Table output.0 -
2021/12/03 09:30:57 - Table output.0 - Error inserting/updating row
2021/12/03 09:30:57 - Table output.0 - ERROR: current transaction is aborted, commands ignored until end of transaction block
2021/12/03 09:30:57 - Table output.0 - WARNING: Couldn't insert row into table: [7], [0], [Cero], [R], [0,0], [Reprobado]
2021/12/03 09:30:57 - Table output.0 -
2021/12/03 09:30:57 - Table output.0 - Error inserting/updating row
2021/12/03 09:30:57 - Table output.0 - ERROR: current transaction is aborted, commands ignored until end of transaction block
2021/12/03 09:30:57 - Table output.0 - WARNING: Couldn't insert row into table: [7], [1], [Uno], [R], [1,0], [Aplazado]
2021/12/03 09:30:57 - Table output.0 -
2021/12/03 09:30:57 - Table output.0 - Error inserting/updating row
2021/12/03 09:30:57 - Table output.0 - ERROR: current transaction is aborted, commands ignored until end of transaction block
2021/12/03 09:30:57 - Table output.0 - WARNING: Couldn't insert row into table: [7], [2], [Dos], [R], [2,0], [Aplazado]
2021/12/03 09:30:57 - Table output.0 -
2021/12/03 09:30:57 - Table output.0 - Error inserting/updating row
2021/12/03 09:30:57 - Table output.0 - ERROR: current transaction is aborted, commands ignored until end of transaction block
2021/12/03 09:30:57 - Table output.0 - WARNING: Couldn't insert row into table: [7], [3], [Tres], [R], [3,0], [Aplazado]
2021/12/03 09:30:57 - Table output.0 -
Con lo cual está identificada la falla!
El tema es que si luego a mano corro lo siguiente:
INSERT INTO mig.sga_det_escala(escala_notas, nota, descripcion, resultado, valor_numerico, concepto) VALUES (6, '', 'Libre', 'L', NULL , 'Libre');
Lo agrega sin problemas.
Necesitamos poder permitir al docente registrar que un alumno quedó libre en la cursada. Pero voy a ver de hacer los ajustes para manejarlo por la condición de regularidad y no por resultado.
Este inconveniente está asociado a la consulta que hice acá https://foro.comunidad.siu.edu.ar/index.php?topic=21885
Saludos
Iris