Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

PUTSQL which cannot be converted to a timestamp

avatar
Contributor

I am facing an issue - in PutSQL

I am sending a date value from XML-JSON->oracle table.  

EvaluateJSOn ->RouteAttributes->AttributeJson->ConvertJsontoSQL -> UpdateAttrubites->PutSQL is my flow.

But it is failing always with 

2020-03-30 14_47_52-Inbox (2,675).png

1 ACCEPTED SOLUTION

avatar
Contributor

I resolved the issue(${sql.args.1.value:toDate("yyyy-MM-dd"):toNumber()}).. But I dont understand why we need toNumber() here. Any body have answer to this ?

View solution in original post

3 REPLIES 3

avatar
Contributor

I resolved the issue(${sql.args.1.value:toDate("yyyy-MM-dd"):toNumber()}).. But I dont understand why we need toNumber() here. Any body have answer to this ?

avatar
Super Guru

@MPraveen Hello friend!

 

I dont your sql schema but the error is wanting the real time version of the data (without the /).

 

Glad you were able to solve it.  Accept your own answer and get a solution credit!!

 

avatar
Contributor

Thanks Steven