tCouchDbInput query view with complex key

Highlighted
One Star

tCouchDbInput query view with complex key

Hi,
I am interested in querying a CouchDb server using complex keys. For example:
start key:
end key:
I tried inputting these as simple string, as well as using Arrays.asList(...) in the startkey/endkey input fields and in the options table. None returned results, although I am able to query the service through a different client.
Thank you in advance.
Konstantin Pentchev
Highlighted
Four Stars

Re: tCouchDbInput query view with complex key

Hi Konstantin,
What's there in Talend for CouchDB? Means how you are interacting through talend with CouchDB?
Thanks
Vaibhav
Highlighted
One Star

Re: tCouchDbInput query view with complex key

Hi Vaibhav,
I am using a tCouchDbInput component. I solved the problem by using java.util.Arrays.<Object>asList(...) in both the startKey and endKey input fields. I don't know why it returned no results when I wrote the original post, maybe I messed up the query parameters. Anyway it would be nice if this can be documented somewhere.
Cheers
Konstantin

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog