eic-cefet-rj / sagitarii

Data Science Workflow System
Apache License 2.0
0 stars 2 forks source link

Data is not imported when CSV line points to not imported files ( domain column don't have files to import ) #87

Closed icemagno closed 9 years ago

icemagno commented 9 years ago

02/09/2015 10:25:15 ERROR br.cefetrj.sagitarii.persistence.repository.RelationRepository - error executing work 02/09/2015 10:25:15 ERROR br.cefetrj.sagitarii.persistence.repository.RelationRepository - > insert into classifica_o(id_experiment,id_activity,id_instance,par_r,tamanho,teste,metodo,treino,par_i,resultado,resultadov) values (70,467,25904,'0','21','cosmos3_test.rdata','rbfdot_nu-svc','cosmos3_training.rdata','0','classifica.csv','0'); 02/09/2015 10:25:15 ERROR br.cefetrj.sagitarii.core.DataReceiver - error importing CSV data to database: error executing work

icemagno commented 9 years ago

The file 'classifica.csv' was not sent by Teapot and not imported to 'Files' table. Then its reference was not changed by an integer ( file.id_file) in SQL statement. The SQL is trying to insert a String into a Integer field.