Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
akumar2
Contributor
Contributor

SCD type

Hi Everyone,

 

I am trying implement SCD type1 in my project. I have created and run the job without context variables i my then it was running successfully, but i am trying to run the job with the use of context variables, i am getting error like "Cannot cast to boolean: "10.21203/rs.3.rs-2885744/v1" " i dont know why it was happening. i have checked the column data type every thing is correct.  Please find the attached job screenshot.

Thanks in advance.

akumar2_0-1706688014042.png

 

Labels (1)
  • v7.x

6 Replies
Shicong_Hong
Support
Support

Hi  

It expects a boolean value but it is a string. Can you show us where do you use the context variable? 

Regards

Shong

 

Kaushik
Partner - Contributor II
Partner - Contributor II

Can you please? share the more details of the job and also check the data types once again?
akumar2
Contributor
Contributor
Author

Hi shong88,

Please find the attached SS for the context variable i have created and where i am using. I am assing values to my context variable using tjavarow from different table.

akumar2_0-1706769488200.png

akumar2_1-1706769524749.png

akumar2_2-1706769615974.png

 

 

akumar2
Contributor
Contributor
Author

Hi kaushik, 

                          i have checked the datatype of my source and target, both are sting form only.

i am assigning values to my context variable using tjavarow and using these context variable to fetch data from source to target . I will share the ss of myjob.

akumar2_3-1706769848640.pngakumar2_4-1706769876509.png

akumar2_5-1706769901795.png

 

  

 

Shicong_Hong
Support
Support

Need to further confirm which component the error occurred on, check the 'die on error' option on DB components, the error will be thrown out on the console.

 

akumar2
Contributor
Contributor
Author

Hi Shong88,

                           The error was resolved and I am getting output.

 

Thankyou @Shicong_Hong