Estou lendo um arquivo TXT (Input texto) no Pentaho e preciso de um step que limite o tamanho dos campos.
Os campos estão separados por virgula porém como o arquivo em muito grande (15GB) em algum lugar tem um campo que excede o limite
e dá erro na carga da tabela no Banco MySql.Erro abaixo:
2020/11/25 14:56:20 - TAB_PESSOA_CADUNICO.0 - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : Because of an error, this step can't continue:
2020/11/25 14:56:20 - TAB_PESSOA_CADUNICO.0 - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : org.pentaho.di.core.exception.KettleException:
2020/11/25 14:56:20 - TAB_PESSOA_CADUNICO.0 - Error batch inserting rows into table [TAB_PESSOA_CADUNICO].
2020/11/25 14:56:20 - TAB_PESSOA_CADUNICO.0 - Errors encountered (first 10):
2020/11/25 14:56:20 - TAB_PESSOA_CADUNICO.0 -
2020/11/25 14:56:20 - TAB_PESSOA_CADUNICO.0 -
2020/11/25 14:56:20 - TAB_PESSOA_CADUNICO.0 - Error updating batch
2020/11/25 14:56:20 - TAB_PESSOA_CADUNICO.0 - (conn=2540) Data too long for column 'DTA_CADASTRAMENTO_MEMB' at row 1