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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Unable to load date-time variable from CSV to Couchbase

Hi guys,
Need some help, I am using TOS for Big Data v5.3.1. Am experiencing problems loading a date time variable from a CSV file into Couchbase. (through the components tFileInputDelimited and tCouchbaseOutput)
Getting the following exception:
"Exception in component tCouchbaseOutput_2_Mid
java.lang.IllegalArgumentException
at java.util.Date.parse(Unknown Source)
at java.util.Date.<init>(Unknown Source)
at couchbase_test.test_case_0_1.Test_Case.tCouchbaseOutput_2_MidProcess(Test_Case.java:1811)
at couchbase_test.test_case_0_1.Test_Case$1ThreadXMLField_tCouchbaseOutput_2_In.run(Test_Case.java:730)
"
The datetime format is in the form "MM/dd/yyyy HH:mm:ss". Using the same tFileInputDelimited, i could load the file into PostgreSQL, so the problem seems to be at tCouchbaseOutput side.
Wondering what am I missing.

Regards,
YH
Labels (1)
5 Replies
Anonymous
Not applicable

Hi,
Is the connection for Couchbase successful? Would you mind giving us your tCouchbaseOutput component setting screenshot so that we can address your issue quickly.
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III
Author

Hi,
Is the connection for Couchbase successful? Would you mind giving us your component setting screenshot so that we can address your issue quickly.
Best regards
Sabrina

Hi Sabrina,
working with YH on the same project. Connection to Couchbase is working we can import it properly as soon as we set it as a string vs a DateTime variable. I can't seem to paste a screenshot here :-(
The datetime variable is like this: 8/1/2013 16:31:06
What we've tried in the component (edit schema) is to set it to type = Date and the Date Pattern to ""MM/dd/yyyy HH:mm:ss"
May I ask why Talend doesn't offer a datetime format to choose from?

Thanks in advance,
Andreas
Anonymous
Not applicable

Hi,
"Exception in component tCouchbaseOutput_2_Mid
java.lang.IllegalArgumentException
at java.util.Date.parse(Unknown Source)
at java.util.Date.<init>(Unknown Source)
at couchbase_test.test_case_0_1.Test_Case.tCouchbaseOutput_2_MidProcess(Test_Case.java:1811)
at couchbase_test.test_case_0_1.Test_Case$1ThreadXMLField_tCouchbaseOutput_2_In.run(Test_Case.java:730)
"

I have made a testing for date(8/1/2013 16:31:06), everything is fine. I don't think it is data type issue.
So I need your component setting screenshot to see if it is correct.
You should register and log in as a Community member first, then you'll get a Image upload box that allows to upload screen captures and images up to 200KB.(.png is preferred)
For registered users, clicking on "post reply" (not through the quick post")
See my demo job screenshots
Best regards
Sabrina
0683p000009MAjY.png 0683p000009MAtm.png 0683p000009MAmX.png 0683p000009MAbR.png 0683p000009MAdp.png
Anonymous
Not applicable

Hi Sabrina,
Thanks for the spedy reply. Here are the screenshots. I notice we're using different input objects. (tfileinput vs tflowinput)
Regards,
YH
0683p000009MAri.png 0683p000009MAtr.png 0683p000009MAsQ.png
Anonymous
Not applicable

Hi,
Thanks for the spedy reply. Here are the screenshots. I notice we're using different input objects. (tfileinput vs tflowinput)

The tfileinputdelimited or tflowinput will not affect the job. But I suspect something wrong with your input source. Could you use a simple input source for testing to see if this issue repro again?
Such as:
name;date
xxx;xxxxxxxxxxxxxx
See my screenshots
Best regards
Sabrina
0683p000009MAjJ.png 0683p000009MAbq.png 0683p000009MAsG.png