tCouchDbInput query view with complex key

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