Closed mojedar closed 4 years ago
Hi @mojedar, thank you for your feedback, sorry for late answer!
What append if you try to run this query directly in your database (without using laravel)?
insert into "uso_suelo" ("cod_pais", "cod_fundo", "nom_fundo", "cod_uso_suelo", "dsc_uso_suelo", "cod_rodal", "cod_especie", "dsc_especie", "ano_plantacion", "cod_esquema", "dsc_esquema", "dsc_restriccion_suelo", "sup_ha", "cod_z_cpino", "cod_z_prod", "cod_sz_prod", "dsc_sz_prod", "id_area_us", "updated_at", "created_at") values (90, 5469, LOS QUILLAYES, 4050, CORTAFUEGO, , , , , , , SIN RESTRICCION, 0.2, 7, 4, 17, NAHUELBUTA INTERIOR ALTA, 32318, 2020-04-28 18:40:07, 2020-04-28 18:40:07) returning "id"
Do you see the same error?
Hello !, oh, it has been so long that the truth I think that somehow I solved it at the time, so now I do not remember well how I solved it, Anyway thank you very much for answering, I love your library: D
El mié., 17 jun. 2020 a las 15:58, Raphaël Huchet (notifications@github.com) escribió:
Hi @mojedar https://github.com/mojedar, thank you for your feedback, sorry for late answer!
What append if you try to run this query directly in your database (without using laravel)?
insert into "uso_suelo" ("cod_pais", "cod_fundo", "nom_fundo", "cod_uso_suelo", "dsc_uso_suelo", "cod_rodal", "cod_especie", "dsc_especie", "ano_plantacion", "cod_esquema", "dsc_esquema", "dsc_restriccion_suelo", "sup_ha", "cod_z_cpino", "cod_z_prod", "cod_sz_prod", "dsc_sz_prod", "id_area_us", "updated_at", "created_at") values (90, 5469, LOS QUILLAYES, 4050, CORTAFUEGO, , , , , , , SIN RESTRICCION, 0.2, 7, 4, 17, NAHUELBUTA INTERIOR ALTA, 32318, 2020-04-28 18:40:07, 2020-04-28 18:40:07) returning "id"
Do you see the same error?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rap2hpoutre/fast-excel/issues/167#issuecomment-645591333, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ6AXKERCEWMNDOT5LY4S3RXEN57ANCNFSM4MTH4QAQ .
-- María Paz Ojeda Rodríguez Egresada de Ingeniería Civil en Informática Universidad Austral de Chile
Hi, I am trying to import 130k rows from a csv file, with this library, it is worth mentioning that I can import it with laravel-excel but it takes a long time and that's why I wanted to try this library
But it is giving me the following error:
"SQLSTATE[22P02]: Invalid text representation: 7 ERROR: la sintaxis de entrada no es válida para integer: «» (SQL: insert into "uso_suelo" ("cod_pais", "cod_fundo", "nom_fundo", "cod_uso_suelo", "dsc_uso_suelo", "cod_rodal", "cod_especie", "dsc_especie", "ano_plantacion", "cod_esquema", "dsc_esquema", "dsc_restriccion_suelo", "sup_ha", "cod_z_cpino", "cod_z_prod", "cod_sz_prod", "dsc_sz_prod", "id_area_us", "updated_at", "created_at") values (90, 5469, LOS QUILLAYES, 4050, CORTAFUEGO, , , , , , , SIN RESTRICCION, 0.2, 7, 4, 17, NAHUELBUTA INTERIOR ALTA, 32318, 2020-04-28 18:40:07, 2020-04-28 18:40:07) returning "id")
I repeat, this does not happen to me with laravel-excelThis is my migration