Big Decimal Error in TFileInputDelimited

Highlighted
One Star

Big Decimal Error in TFileInputDelimited

Dear i try to laod a txt file with bigdecimal value like "-11368683772161603e-29".
I receive an error like this The constructor BigDecimal(BigDecimal) is undefined.
I try to load as string and convert to BigDecimal but same error.
regards
Marc
Six Stars

Re: Big Decimal Error in TFileInputDelimited

Which version of talend are you using?
Check your code and see whether the big decimal class is imported. Check for Code : "import java.math.BigDecimal;"
Seventeen Stars

Re: Big Decimal Error in TFileInputDelimited

hi,
as the error said :
constructor BigDecimal(BigDecimal) is undefined.

you cannot a new BigDecimal 'object' with a bigDecimal as parameter ...
you already has a bigDecimal in entry.
regards
laurent
Seventeen Stars

Re: Big Decimal Error in TFileInputDelimited

Where do you try to convert to a BigDecimal. It looks like the tFileInputDelimited component did that already for you.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download