ERROR: invalid input syntax for type bigint: "95139.81653861178"

1

Using DMS I am migrating data from Oracle to postgres. I am getting errors from DMS, When I have checked the postgres logs I found the below errors.

ERROR: invalid input syntax for type bigint: "95139.81653861178" CONTEXT: COPY compositedata, line 307, column value: "95139.81653861178" :STATEMENT: COPY "toype"."compositedata" FROM STDIN WITH DELIMITER ',' CSV NULL 'attNULL' ESCAPE ''

Please let me know If you have any fix for this issue.

2개 답변
2

BIGINT expects and integer and 95139.81653861178 isn't an integer. You'll need a different data type that matches your source data better. You might want to try Schema Conversion Tool to help you. https://docs.aws.amazon.com/SchemaConversionTool/latest/userguide/CHAP_Source.Oracle.ToPostgreSQL.html

profile pictureAWS
답변함 2년 전
1

Thanks for your help. I have changed postgres data type to double precision and it resolved the issue.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠