Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problems using Postgres ELT

Hello,
I'm trying to use Postgres ELT components, but i am getting some errors. The main error is because i have some tables that were created using upper case and others using lower case, for example:
TABLE_TEST and table_test_02.
The problem is that Postgres is case sensitive and when Talend tries to send the query to database, postgres does not recognize the table name. So the solution is use quotes in the table name, for example, instead i use:
select * from TABLE_TEST
I have to use
select * from "TABLE_TEST"
But i cannot put quote manually inside table name in Talend.
Does anyone knows how can i do this? Or anyone has passed for the same problem?
Thanks
Best regards
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi
If you create metadata->DB Connection->Postgres, you will find out that the query of tPostgresqlInput is like this.
"SELECT 
\"test\".\"public\".\"DU\".\"newColumn\",
\"test\".\"public\".\"DU\".\"newColumn1\"
FROM \"test\".\"public\".\"DU\""

Add '\' in front of quote.
Regards,
Pedro