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

[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
Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Figured it out
tRowGenerate (1 row) ----Iterate---->tPostgresSQLRow
Anonymous
Not applicable
Author

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