Talend Postgresql output of data

One Star

Talend Postgresql output of data

Hi all,
Hoping someone can help me here.
I'm trying to output a table from my PostgreSQL DB using Talend however it doesn't seem to be outputting exactly what's in the DB..............it keeps appending random decimal places.
When I output directly from PostgreSQL it produces the table fine i.e. what I see when I query the data.
HOWEVER when I try to output the table via Talend by using
1. input and output components - (converting everything to strings) OR
2. direct select query OR
3. outputting to tLog OR
4. submitting a command to run to output the table
5. Even calling the above command via a function - where arguments are supplied
it always appends a load of decimal places.
One field I am using to check this output contains a value of type real and it's value is 2.
When I output this directly from PostgreSQL (any method at all) I get a value of 2 i.e. what is stored.
When I output the table using any of the above 5 commands via Talend I get a values of 2.0000002
Can anyone explain why this is and what can be done to eliminate the additional decimals..............rounding is not an option unfortunately.
regards,

Dave
Community Manager

Re: Talend Postgresql output of data

Hi Dave
What's the data type of column in table? please upload a screenshot of schema of tPostgresqlInput.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’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