[resolved] Create database table index

One Star

[resolved] Create database table index

I am trying to have talend create an index on a Postgres database. If i put this in the table query on a tPostgresInput:
"CREATE INDEX \"INDIX\"
ON working
USING btree
(\"RECORDID\", \"SOURCE\")"

It actually works fine, the index is created, but I get an error:
Exception in component tPostgresqlInput_1
org.postgresql.util.PSQLException: No results were returned by the query.
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:236)

Any other way to do this? Or turn off errors?
Thanks Marc

Accepted Solutions
One Star

Re: [resolved] Create database table index

Figured it out
tRowGenerate (1 row) ----Iterate---->tPostgresSQLRow

All Replies
One Star

Re: [resolved] Create database table index

Figured it out
tRowGenerate (1 row) ----Iterate---->tPostgresSQLRow
One Star

Re: [resolved] Create database table index

Hi Marc,
I am looking to create multiple indexes on a table, please can you elaborate on what the configuration of your tRowGenerator looks like for the index creation as well as what the tXXXRow looks loke.
Thanks
glongi

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog